Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 28, 2023
1 parent 827d490 commit 3ffbfcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gmso/external/convert_mbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import mbuild as mb
import numpy as np
import unyt as u
from unyt import Unit
from boltons.setutils import IndexedSet
from unyt import Unit

from gmso.core.atom import Atom
from gmso.core.bond import Bond
Expand Down Expand Up @@ -272,7 +272,7 @@ def _parse_site(site_map, particle, search_method, infer_element=False):
ele = search_method(particle.name) if infer_element else None

charge = particle.charge * u.elementary_charge if particle.charge else None
mass = particle.mass * Unit('amu') if particle.mass else None
mass = particle.mass * Unit("amu") if particle.mass else None

site = Atom(
name=particle.name,
Expand Down

0 comments on commit 3ffbfcb

Please sign in to comment.