Hei, I am not quite sure if this might be a trivial question but I am having some troubles with it. I am trying to do the following:
I downloaded a folder of about 8000 pdb files on my computer. I converted the folder into an array using:
protein_array = np.array(os.listdir('/directory/to/pdf/files/folder'))
in order to edit it. I identified the elements of the array I cannot use later and deleted them from protein_array - so essentially I am cleaning up the array so I can work with it later. My problem is, I now need to save the edited protein_array back to my computer so that I again get a folder with (now less) pdb files. This seems rather simple but I couldn't find how to save a NumPy array to PDB formatted files.