You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certain heterocyclic compounds can yield unexpected SMILES in the upstream Open Babel library. For example, the code does not correctly assign bond orders to L_13 in the ToBaCCo MOFs. This effect occurs inconsistently, sometimes leading to multiple copies of the same linker with slightly different SMILES due to different bond orders or the introduction of radical notation.
Even if the bug is fixed upstream, I suspect the presence of charged organic molecules may exacerbate the issue. Currently, framework.cpp assigns formal charges to the carboxylate and certain rings after the bond orders are detected. Aromaticity detection may be improved if the overall partial charge is assigned before running OBMol::PerceiveBondOrders, for example by using the number/location of coordinated metals.
These are some potentially relevant issues on the upstream project for reference:
Interpreting the results of check_mof_linkers.py to establish the percent accuracy (and common sources of mismatch) between a MOF's GA/ToBaCCo "recipe" and the MOFid of the resulting structure. Mostly there are exact matches, though there are some instances of either unexpected structures and incompatibility with MOFid, particularly due to an upstream bug in #8. This commit adapts some previous visualizations from earlier work, e.g. from Notebooks/20181211-github-refactoring/StartValidationTest/CheckToBaCCo/NewResults20190207/plot_tobacco_viz.R
I also identified an error class missing from the Python validation test, which corresponds to the case when sbu.cpp cannot find a MOF structure in the CIF. This case will have a signature of `no_mof` in the catenation field.
Exporting a format derived from InChIKey to provide a compact, interoperable hash in addition to the SMILES-based MOFid. Since the organic portion is based on InChIKey, the user can search for the building blocks in specialized and even general search engines.
Note: invoking the InChI code may add substantially more warning/error messages to the log file, particularly for metal-containing linkers and cases when the valence is buggy (e.g. ZIFs and cases related to issue #8). I still need to write some more diagnostic output and discuss a few decision points, such as the `DEFAULT_MOFKEY_TOPOLOGY`.
Certain heterocyclic compounds can yield unexpected SMILES in the upstream Open Babel library. For example, the code does not correctly assign bond orders to
L_13
in the ToBaCCo MOFs. This effect occurs inconsistently, sometimes leading to multiple copies of the same linker with slightly different SMILES due to different bond orders or the introduction of radical notation.Even if the bug is fixed upstream, I suspect the presence of charged organic molecules may exacerbate the issue. Currently, framework.cpp assigns formal charges to the carboxylate and certain rings after the bond orders are detected. Aromaticity detection may be improved if the overall partial charge is assigned before running
OBMol::PerceiveBondOrders
, for example by using the number/location of coordinated metals.These are some potentially relevant issues on the upstream project for reference:
The text was updated successfully, but these errors were encountered: