-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CIF File non-iterable NoneType object Error #79
Comments
Hi @miracaydin1, can you please attach the full CIF file and share the versions you're using for at least jarvis-tools and spglib? This looks like a potential issue with https://github.com/usnistgov/jarvis. Have you tried any other CIF parsers? |
a possible workaround might be to parse the structures using pymatgen and convert to jarvis Atoms, since your augmented file seems to have been written by the pymatgen CIF io module |
Can you try to install cif2cell |
Hi @bdecost, I installed the latest version of ALIGNN (2022.11.06). The latest version includes spglib=1.16.2 and jarvis-tools=2021.10.03 As I said, I augmented my current cif files with AugLichem (https://github.com/BaratiLab/AugLiChem). As I understand, this library uses pymatgen. Here are another original and augmented CIF files. I attached the full files. Original file:
Augmented file:
Hi @knc6, let me try to install that package and inform you as soon as possible. |
Hi @knc6, I installed the package. Then I checked "config.json" file. Giving the exact number of the length of dataset gives error. I reduced the number of "n_val", "n_test" and "n_train" values
After reducing the values by around 10 molecules. The model started to work. I think these numbers are not automatically detected by the length of dataset. Assigning these values manually can cause error sometimes if you give a value more then the length of dataset. |
Dear All,
I train ALIGNN with cif files. To improve the performance, I tried to augment my cif files with AugLiChem library. Here is the snippet from the original file and the augmented cif file:
Original file:
Augmented file:
ALIGNN works fine with original cif files but whenever I try to train it with augmented file, I encounter the following error:
I can not see a problem in augmented files. Do you have any suggestions?
Best regards,
The text was updated successfully, but these errors were encountered: