Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoes committed May 5, 2017
1 parent 8118fd3 commit bb6668d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rdconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def getRMS(mol, c1,c2):
mol.SetProp("_Name",name);

if options.etkdg:
cids = Chem.EmbedMultipleConfs(mol, int(options.sample*options.maxconfs), Chem.ETKDG(),randomSeed=options.seed)
cids = Chem.EmbedMultipleConfs(mol, int(options.sample*options.maxconfs), Chem.ETKDG())
else:
cids = Chem.EmbedMultipleConfs(mol, int(options.sample*options.maxconfs),randomSeed=options.seed)
if options.verbose:
Expand Down Expand Up @@ -143,8 +143,8 @@ def getRMS(mol, c1,c2):
sdwriter.write(mol,conf)
except (KeyboardInterrupt, SystemExit):
raise
except:
print "Exception"
except Exception as e:
print "Exception",e
else:
print "ERROR:",smi

Expand Down

0 comments on commit bb6668d

Please sign in to comment.