Skip to content

Commit

Permalink
ss/MASTER cleaned up the init main entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Sulstice committed Jun 7, 2020
1 parent 2de185b commit 30bdf09
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions molpdf/molpdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,12 +471,4 @@ def renderGridToBuffer(self, objects, refatoms, ncolumns):
finally:
wb.dispose()

# ----------------- End of Indigo Renderer -----------------

if __name__ == '__main__':

document = MolPDF(name='test.pdf')
document.add_title('Chemical Library Test')
document.add_spacer()
smiles_list = ['C(CNC(C(C)N)=O)(=O)O', 'C(CNC(C(C)N)=O)(=O)O', 'C(CNC(C(C)N)=O)(=O)O']
document.generate(smiles=smiles_list)
# ----------------- End of Indigo Renderer -----------------

0 comments on commit 30bdf09

Please sign in to comment.