|Date:||23 Dec 2013|
New features and improvements:
- Bold bonds detection in the rendering procedure (details)
- Transformation method do not change molecule layout for simple transformations.
- Timeout option works for layout and transformation methods 
- Build process and dependencies update (details)
- Smiles includes cis-trans marks in rings including in canonical smiles (details)
checkAmbiguousHmethods try to find number of implicit hydrogens for aromatic molecules first. If molecule is aromatic then there is no need to dearomatize it first to check ambiguous hydrogens. See unique-dearomatization option that contains examples.
- cdxml format: text width estimation
- indigo-python: createSaver method to render or save into buffers (details)
- Rendering module supports multiline comments and titles. See render-comment and render-grid-title-property options.
- Linux distributive do not depend on GLIBC_2.14. Binary files can be used even on old versions of Linux.
- Multiline properties, empty properties are loaded from SDF file.
rawDatamethod includes properties too.
- SDF reader can read sdf.gz and files
- Various fixes in the transformation procedure 
- Fixed canvas estimation in the rendering methods.
- Indigo finalization method could affect other Indigo instances as well in Java 
foldHydrogensmethod mark other bond if that bond were marked
- Fixed issues in deserialization method if molecule cis-trans configuration was invalid
- Substructure matcher matches N[C@H](O)S on C[C@@](N)(O)S
- Normalize method validates cis-trans after doing normalization
- Molfile with ISISHOST header are supported. Such molecules has empty molfile version.
- Layout did not respect cis-trans configuration in rare cases
- Memory leak in InChI to molecule conversion
- Monoisotpic mass computation fix 
- SMARTS expressions can have multiple atom constraints for a single atom without explicit and operation. For example [!#1!#6]. 
collapseoption value for
- Complete Python 3 compatibility
Smiles cis-trans flags¶
Cis-trans bonds in rings are saved using SMILES extension with “c” and “t” fields.
m = indigo.loadMoleculeFromFile('data/macro.mol') indigoRenderer.renderToFile(m, "result.png") print(m.canonicalSmiles())
Bold bonds detection and rendering¶
To depict Sugars Indigo can automatically detect where bold bond should be drawn:
m = indigo.loadMoleculeFromFile('data/bold-bond2.mol') indigo.setOption("render-comment", "With bold bonds") indigoRenderer.renderToFile(m, "result_1.png") indigo.setOption('render-bold-bond-detection', False) indigo.setOption("render-comment", "Original") indigoRenderer.renderToFile(m, "result_2.png")
Python bindings has a new method createSaver that can be used to save chemical structures into buffers.
# Create molecules and set their names m1 = indigo.loadMolecule('[H][C@](C)(N)O') m1.setName("Molecule 1") m2 = indigo.loadMolecule('C1=CC=CC=C1') m2.setName("Molecule 2") # Create string stream and save molecules in SMILES format into it buffer = indigo.writeBuffer() # Instead of "smi" one can use "sdf", "cml", "rdf" saver = indigo.createSaver(buffer, "smi") saver.append(m1) saver.append(m2) print(buffer.toString())
- Visual Studio 2013 and OS X Mavericks support added.
- Indigo-java: source and target compatibility versions set to Java 1.5.
- Third party libraries: Cairo updated to 1.126; Pixman updated to 0.30.2; Cairo can be built with cairo-gl, cairo-vg, cairo-egl and cairo-glesv2 support.
|||Bug report by Joos: https://groups.google.com/d/msg/indigo-bugs/Vdzp0B26KsA/DehJm2QhW34J|
|||Bug report by Ken: https://groups.google.com/d/msg/indigo-general/6B-LlLR0Ppw/fvI1RM7CzWUJ|
|||Bug report by Oliver Kohlbacher: https://groups.google.com/d/msg/indigo-general/h6p9QxMuI_Q/4x2TckxWProJ|
|||Bug report by Oleg: https://groups.google.com/d/msg/indigo-general/D3P-TbZBnL0/oJEOM82i1lwJ|
|||Feature request by Ken: https://groups.google.com/d/msg/indigo-general/wK4eDGiOzJc/kgwc0mAH89YJ|