Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_kilosort_extractor(self):
path1 = self.test_dir + '/ks'
se.KiloSortSortingExtractor.write_sorting(self.SX, path1)
SX_ks = se.KiloSortSortingExtractor(path1)
self._check_sorting_return_types(SX_ks)
self._check_sortings_equal(self.SX, SX_ks)
def test_kilosort_extractor(self):
path1 = self.test_dir + '/ks'
se.KiloSortSortingExtractor.write_sorting(self.SX, path1)
SX_ks = se.KiloSortSortingExtractor(path1)
self._check_sorting_return_types(SX_ks)
self._check_sortings_equal(self.SX, SX_ks)
def get_result_from_folder(output_folder):
sorting = se.KiloSortSortingExtractor(output_folder)
return sorting
def get_result_from_folder(output_folder):
sorting = se.KiloSortSortingExtractor(output_folder)
return sorting