Skip to content

Commit e05d772

Browse files
committed
fix for one-file-per-signal
1 parent 721e119 commit e05d772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/rawio/intanrawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ def read_rhs(filename, file_format: str):
969969
# based on what Heberto and I read in the docs
970970
for chan_info in stream_name_to_channel_info_list["RHS2000 amplifier channel"]:
971971
# we see which stim were activated
972-
if file_format == "header-attached" or any(
972+
if file_format != "one-file-per-channel" or any(
973973
[chan_info["native_channel_name"] in stim_file.stem for stim_file in raw_file_paths_dict["Stim channel"]]
974974
):
975975
chan_info_stim = dict(chan_info)

0 commit comments

Comments
 (0)