Passing a Molecule without charges to from_smirnoff
's charge_from_molecules
fails ungracefully
#1057
Labels
from_smirnoff
's charge_from_molecules
fails ungracefully
#1057
Definitely not a big issue, mostly opening it because @mattwthompson told me to raise these issues 😅
Description
Passing an uncharged Molecule through
charge_from_molecule
leads to a TypeError when trying to iterate over None.The traceback is clear, but the error message could be better for users.
Reproduction
Output
TypeError: 'NoneType' object is not iterable
Software versions
Interchange v0.3.29
The text was updated successfully, but these errors were encountered: