Skip to content

Commit 99079ff

Browse files
authored
Update neo/rawio/axographrawio.py
1 parent 1326298 commit 99079ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/rawio/axographrawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ def _scan_axograph_file(self):
565565
# format version 3
566566
if header_id == "AxGr":
567567
format_ver, n_cols = f.read_f("HH")
568-
if format_ver != 1 or format_ver != 2:
568+
if format_ver != 1 and format_ver != 2:
569569
raise ValueError(
570570
f'Mismatch between header identifier "{header_id}" and format ' f'version "{format_ver}"!'
571571
)

0 commit comments

Comments
 (0)