File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -295,6 +295,9 @@ def make(self, key):
295295 raise FileNotFoundError (
296296 'No Open Ephys data found for probe insertion: {}' .format (key ))
297297
298+ if not probe_data .ap_meta :
299+ raise IOError ('No analog signals found - check "structure.oebin" file or "continuous" directory' )
300+
298301 if probe_data .probe_model in supported_probe_types :
299302 probe_type = probe_data .probe_model
300303 electrode_query = probe .ProbeType .Electrode & {'probe_type' : probe_type }
Original file line number Diff line number Diff line change @@ -242,6 +242,9 @@ def make(self, key):
242242 raise FileNotFoundError (
243243 'No Open Ephys data found for probe insertion: {}' .format (key ))
244244
245+ if not probe_data .ap_meta :
246+ raise IOError ('No analog signals found - check "structure.oebin" file or "continuous" directory' )
247+
245248 if probe_data .probe_model in supported_probe_types :
246249 probe_type = probe_data .probe_model
247250 electrode_query = probe .ProbeType .Electrode & {'probe_type' : probe_type }
Original file line number Diff line number Diff line change @@ -293,6 +293,9 @@ def make(self, key):
293293 raise FileNotFoundError (
294294 'No Open Ephys data found for probe insertion: {}' .format (key ))
295295
296+ if not probe_data .ap_meta :
297+ raise IOError ('No analog signals found - check "structure.oebin" file or "continuous" directory' )
298+
296299 if probe_data .probe_model in supported_probe_types :
297300 probe_type = probe_data .probe_model
298301 electrode_query = probe .ProbeType .Electrode & {'probe_type' : probe_type }
You can’t perform that action at this time.
0 commit comments