Skip to content

Commit

Permalink
selected atoms
Browse files Browse the repository at this point in the history
  • Loading branch information
RobBuchananCompPhys committed Mar 4, 2025
1 parent 9005893 commit 536d62a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MDANSE/Src/MDANSE/Framework/Jobs/TrajectoryFilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def initialize(self):

# This stores the trajectory (position array) of atoms by x, y, z component, to be filtered
self.atomic_trajectory_array = np.zeros(
(len(self._atoms), 3, len(self.configuration["frames"]["value"]))
(len(self._selected_atoms), 3, len(self.configuration["frames"]["value"]))
)

def run_step(self, index):
Expand Down

0 comments on commit 536d62a

Please sign in to comment.