-
Notifications
You must be signed in to change notification settings - Fork 158
Problem with load molecule data from ase #354
Comments
I am not sure if I get your question. You are saying the example does not work even if you converted the ase Atoms to xyz file? |
@chc273 Thanks for response!
After loaded by pybel it's look incorrectly compared with moleculus from molecules.json, instead the structure it's show only (pybel doesn't molecule structure ) And after training of megnet model start I get error:
Colab notebook: https://colab.research.google.com/drive/16MXFzX8dtmt4LHzEAOV2ctAohVfeBcP2?usp=sharing and few xyz examples: https://github.com/dimka11/mol_data I participate in some competition and task is predict energy for molecule I would be grateful for any information. |
I see where the problem is. In the molecule you showed, there is no chemical bond per pybel's definition. (the error message should have been better). In any case, the MolecularGraph is not well supported and is only limited to using the QM9 molecules with elements like "H", "C", "N", "O", "F". Please consider using alternative methods like this one instead https://github.com/materialsvirtuallab/megnet/blob/master/notebooks/qm9_simple_model.ipynb |
@chc273 Thank you. Model works now. |
I don't understand how I can load data from ase format. I look this tutorial https://github.com/materialsvirtuallab/megnet/blob/master/notebooks/molecule_example.ipynb and have tried to convert the data to xyz files, but this files loaded by pybel but can't be load to the model.
The text was updated successfully, but these errors were encountered: