Loading sync channel using read_openephys
Hey guys, appreciate all of your terrific work!
I am using OE to record NPX and also save the sync channel - #385. I am trying to load the sync channel using read_openephys (in spikeinterface.extractors). When I use:
`new_recording = se.read_openephys(path_to_recording_file, stream_name="Record Node 101#Neuropix-PXI-100.ProbeA-AP", load_sync_channel=True)` 
I get the following error: "set_probe(inplace=True) must have all channel indices"
diff --git a/src/spikeinterface/extractors/neoextractors/openephys.py b/src/spikeinterface/extractors/neoextractors/openephys.py
index e1a6598f..a7af1078 100644
--- a/src/spikeinterface/extractors/neoextractors/openephys.py
+++ b/src/spikeinterface/extractors/neoextractors/openephys.py
@@ -149,8 +149,8 @@ class OpenEphysBinaryRecordingExtractor(NeoBaseRecordingExtractor):
         else:
             exp_id = exp_ids[block_index]
 
-        # do not load probe for NIDQ stream
-        if "NI-DAQmx" not in stream_name:
+        # do not load probe for NIDQ stream or if load_sync_channel is True
+        if "NI-DAQmx" not in stream_name and not load_sync_channel:
             settings_file = self.neo_reader.folder_structure[record_node]["experiments"][exp_id]["settings_file"]
 
             if Path(settings_file).is_file():
['src/spikeinterface/extractors/neoextractors/openephys.py']