File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed
Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -146,13 +146,22 @@ def _parse_header(self):
146146 else :
147147 self ._raw_data [stream_index ] = []
148148 for channel_index , channel_datatype in enumerate (stream_datatype ):
149- self ._raw_data [stream_index ].append (
150- np .memmap (
151- raw_file_paths_dict [stream_index_key ][channel_index ],
152- dtype = channel_datatype ,
153- mode = "r" ,
149+ if stream_index_key != 6 :
150+ self ._raw_data [stream_index ].append (
151+ np .memmap (
152+ raw_file_paths_dict [stream_index_key ][channel_index ],
153+ dtype = channel_datatype ,
154+ mode = "r" ,
155+ )
156+ )
157+ else :
158+ self ._raw_data [stream_index ].append (
159+ np .memmap (
160+ raw_file_paths_dict [stream_index_key ][channel_index ],
161+ dtype = [channel_datatype ],
162+ mode = "r" ,
163+ )
154164 )
155- )
156165
157166 # check timestamp continuity
158167 if self .file_format == "header-attached" :
You can’t perform that action at this time.
0 commit comments