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 Jun 22, 2024
1 parent 5766156 commit 00a4681
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions grits/coarsegrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ def save(self, cg_gsdfile, start=0, stop=None, stride=1):
new_snap = gsd.hoomd.Frame()
position = []
mass = []
#make an empty list for forces here
# make an empty list for forces here

orientation = [] if self.aniso_beads else None
f_box = freud.Box.from_box(s.configuration.box)
Expand All @@ -741,8 +741,8 @@ def save(self, cg_gsdfile, start=0, stop=None, stride=1):
sum(s.particles.mass[x]) * self.mass_scale for x in inds
]

#do the force calculation here
# do the force calculation here

if self.aniso_beads:
for x in inds:
masses = s.particles.mass[x] * self.mass_scale
Expand Down

0 comments on commit 00a4681

Please sign in to comment.