Skip to content

Commit

Permalink
remove if statement to filter -1 ids
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjonesBSU committed Oct 30, 2024
1 parent ffe639c commit 4eaf697
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gmso/external/convert_hoomd.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,6 @@ def _parse_particle_information(
typeids = np.concatenate((np.array([0] * n_rigid), typeids + 1))
# Update mass list and position list of Frame
for idx, _id in enumerate(rigid_ids_set):
if _id == 1:
continue
group_indices = np.where(np.array(rigid_ids) == _id)[0]
group_positions = xyz[group_indices]
group_masses = masses[group_indices]
Expand Down

0 comments on commit 4eaf697

Please sign in to comment.