Skip to content

Commit

Permalink
add the molecule name to the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
hay-k committed Nov 29, 2019
1 parent c7f2b05 commit ac6c9db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openfermion/utils/_pubchem.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def geometry_from_pubchem(name, structure=None):
record_type='2d')

if not pubchempy_molecule:
print('Unable to find structure info in the PubChem database for the specified molecule.')
print('Unable to find structure info in the PubChem database for the specified molecule "%s".' % name)
return None

pubchempy_geometry = \
Expand Down

0 comments on commit ac6c9db

Please sign in to comment.