Can anyone explain what this means:

Writing results to ./top1000.sdf
[12:05:46]

****
Invariant Violation

Violation occurred on line 294 in file
/share/apps/RDKit_2011_03_2/Code/GraphMol/FileParsers/MolFileStereochem.cpp
Failed Expression: pick >= 0
****

Traceback (most recent call last):
  File "./best_result.py", line 168, in <module>
    main()
  File "./best_result.py", line 163, in main
    w.write(result[2])
RuntimeError: Invariant Violation

The python code...

        w = AllChem.SDWriter(output_file)
        for result in res:
            # the molecule is in the second position
            w.write(result[2])
        w.close()

Where result[2] is an RDKit molecule...

Thanks
JP
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to