Closed geringem closed 3 years ago
Hello,
I think there are a few issues with your edge building block CIF. First, the atoms should be indexed uniquely, for example, rather than:
C1 C2 C3 N1 N2 N3
it should be
C1 C2 C3 N4 N5 N6
In the CIF coordinates section. This is allows the atoms to be uniquely reindexed for the output CIF. Second, and what is causing the problem in the bonding algorithm is that your connection points (the 'X' atoms) are not bonded to the rest of the building block. There should be two bond lines in the CIF for both 'X1' and 'X15'. This is because ToBaCCo bonds the connected components of the structure graph (nodes are atoms edges are bonds) together via the 'X' atoms. Since this linker is not continuously bonded there are three connected components per linker: the non-connection sites and the two 'X' atoms. So when ToBaCCo attempts to bond the non-connection site components it finds no connection sites. I added a value error to make this clearer.
Thank you very much! I'll apply your suggestions.
Hello,
I am a grad student at Oregon State University. We're using your package to build MOFs, but I've been getting an error when using the attached edge 6.cif.txt (changed from a .cif to a .txt so it could be uploaded). I have included the template, node, and error message. The template and node were taken from your repositories.
Do you have any insight on what the cause may be? Thank you for any help you can provide!
Node: 6c_Zn_1_Ch Template: pcu
Error message: