fix after_load
@@ -170,12 +170,11 @@ class BaseRecording(BaseExtractor):
return cached
def _after_load(self, folder):
+ # load probe
if (folder / 'probe.json').is_file():
probegroup = read_probeinterface(folder / 'probe.json')
self.set_probegroup(probegroup, in_place=True)
return self
- else:
- return self
def set_probe(self, probe, group_mode='by_probe', in_place=False):
"""
