Remove __del__ from nwbextractor
@@ -192,9 +192,6 @@ class NwbRecordingExtractor(BaseRecording):
'load_time_vector': load_time_vector,
'samples_for_rate_estimation': samples_for_rate_estimation}
- def __del__(self):
- self.io.close()
-
class NwbRecordingSegment(BaseRecordingSegment):
def __init__(self, nwbfile, electrical_series_name, num_frames, times_kwargs):
@@ -319,9 +316,6 @@ class NwbSortingExtractor(BaseSorting):
'sampling_frequency': sampling_frequency,
'samples_for_rate_estimation': samples_for_rate_estimation}
- def __del__(self):
- self.io.close()
-
class NwbSortingSegment(BaseSortingSegment):
def __init__(self, nwbfile, sampling_frequency, timestamps):
