The Q12010 release contains several assert statements that are always true.  
Python26 warns about that:

...\rdkit_q12010_1\rdkit\sping\PDF\pdfgen.py:648: SyntaxWarning: assertion is 
always true, perhaps remove parentheses?
  assert(len(raw) == imgwidth * imgheight, "Wrong amount of data for image")
...\rdkit_q12010_1\rdkit\sping\PDF\pdfutils.py:30: SyntaxWarning: assertion is 
always true, perhaps remove parentheses?
  assert(len(raw) == imgwidth * imgheight, "Wrong amount of data for image")
...\rdkit_q12010_1\rdkit\sping\PS\pidPS.py:924: SyntaxWarning: assertion is 
always true, perhaps remove parentheses?
  assert(len(rawimage) == imgwidth*imgheight, 'Wrong amount of data for image')
...\rdkit_q12010_1\rdkit\sping\PS\pidPS.py:1015: SyntaxWarning: assertion is 
always true, perhaps remove parentheses?
  assert(len(rawimage) == imwidth*imheight, 'Wrong amount of data for image')


rdkit\Chem\Draw\__init__.py contains an unneeded 'import cairo' statement on 
line 58 which prevents
this function from working when cairo is not installed.

Otherwise I'm fascinated by the smiles rendering functionality.  Great work!

-- 
Thanks,
Thomas

------------------------------------------------------------------------------
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to