Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
JW – Looks good. I’m inclined to approve, but to make sure it’s compatible with Interchange and Evaluator, could you open similar PRs to those repos as well?
– Give toolkit colors? Or default logo+colors
Next week
Cookbook of “all the different ways to make a molecule”
In notebook format
Can we link to this from the Molecule class docstring? Should this be IN the molecule class docstring?
“Molecules should have explicit hydrogens, bond orders, formal charges, stereochemistry (defined on GRAPH, not just 3D)”
Molecule.add_atom and Molecule.add_bond
from_file
from_file_obj
from_object, which really delegates to:
from_rdkit
from_openeye
from_smiles
from_mapped_smiles
from_qcschema
offmol.remap (instance method)
from_topology
from_inchi – “InChI is not intended to be an interchange format” NOTE THAT THIS DOESN’T PRESERVE ATOM ORDER!!
from_iupac (requires OpenEye)
Things that go through Topology, and you actually need to know the GRAPH of the molecule ahead of time (they require a unique_molecules keyword argument with the full identity of the molecules to run). This really just reorders the atoms to be in the other object’s order: