We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1326298 commit 99079ffCopy full SHA for 99079ff
neo/rawio/axographrawio.py
@@ -565,7 +565,7 @@ def _scan_axograph_file(self):
565
# format version 3
566
if header_id == "AxGr":
567
format_ver, n_cols = f.read_f("HH")
568
- if format_ver != 1 or format_ver != 2:
+ if format_ver != 1 and format_ver != 2:
569
raise ValueError(
570
f'Mismatch between header identifier "{header_id}" and format ' f'version "{format_ver}"!'
571
)
0 commit comments