Skip to content

Commit

Permalink
fix conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
RobBuchananCompPhys committed Feb 14, 2025
1 parent 310912a commit 792f0bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions MDANSE/Src/MDANSE/Framework/Jobs/TrajectoryFilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,7 @@ def finalize(self):
filtered_coords = apply(
filter,
trajectories,
apply_offsets=filter_attributes.get("attenuation_type", "bandpass")
is not "lowpass",
apply_offsets=filter_attributes.get("attenuation_type", "bandpass") != "lowpass",
)

# Create trajectory writer object
Expand Down

0 comments on commit 792f0bf

Please sign in to comment.