Closed LionFrangoulis closed 1 week ago
Hi @LionFrangoulis, the -smicat
flag is only for using SMILES strings to generate the ligand. The code may be trying to interpret the path you have given it as a SMILES string since it is not designed to use ligands from miscellaneous files. You should first add the ligand to the database. Please refer to our tutorials for how to add a ligand from an xyz file to your installation of molSimplify (namely https://hjkgrp.mit.edu/tutorials/2018-05-09-molsimplify-tutorial-10-adding-ligands-molsimplify/). Feel free to reply below if you have any further questions
When trying to generate a compound from bidentate ligands, that aren't part of the database but instead saved as an xyz file, the generator crashes. It appears to be a problem with lines 511-520:
if one removes the condition, the code runs, although the resulting angles of the connecting atoms are unpredictable.
Minimum working example, using two bidentate ligand files Ligand6.xyz and Ligand11.xyz:
results in the extended error: