Skip to content

Commit d78ebb5

Browse files
authored
Merge pull request #1485 from zm711/fix-version-intan
Fix version issue for rhs
2 parents 60101db + bafb1bc commit d78ebb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo/rawio/intanrawio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -755,9 +755,9 @@ def read_rhs(filename, file_format: str):
755755
# was a request for postprocessing to be done in one of their scripts. From version 3+ the notch
756756
# filter is now applied to the data in realtime and only the post notched amplifier data is
757757
# saved.
758-
if global_info["notch_filter_mode"] == 2 and global_info["major_version"] >= Version("3.0"):
758+
if global_info["notch_filter_mode"] == 2 and global_info["major_version"] >= 3:
759759
global_info["notch_filter"] = "60Hz"
760-
elif global_info["notch_filter_mode"] == 1 and global_info["major_version"] >= Version("3.0"):
760+
elif global_info["notch_filter_mode"] == 1 and global_info["major_version"] >= 3:
761761
global_info["notch_filter"] = "50Hz"
762762
else:
763763
global_info["notch_filter"] = False

0 commit comments

Comments
 (0)