Skip to content

Commit

Permalink
Update gmso/core/atom_type.py
Browse files Browse the repository at this point in the history
Co-authored-by: CalCraven <[email protected]>
  • Loading branch information
daico007 and CalCraven authored Jan 15, 2024
1 parent 7c4a76c commit f802a41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gmso/core/atom_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def validate_charge(cls, charge):
UNIT_WARNING_STRING.format("Charges", "elementary charge")
)
charge *= u.Unit(
"elementary_charge", registry=GMSO_UnitRegistry().reg_
"elementary_charge", registry=GMSO_UnitRegistry().reg
)
else:
ensure_valid_dimensions(charge, u.elementary_charge)
Expand Down

0 comments on commit f802a41

Please sign in to comment.