use ref to data for tests
This commit is contained in:
parent
4388983ae2
commit
0b26c7e81e
@ -40,7 +40,10 @@ class HelperFunctionsTester(unittest.TestCase):
|
||||
|
||||
def test_detect_spiketimes(self):
|
||||
count = 0
|
||||
for cell_data in icelldata_of_dir("./test_data/"):
|
||||
for cell_data in icelldata_of_dir("../data/"):
|
||||
if os.path.basename(cell_data.get_data_path()) not in self.reference_base_spikes:
|
||||
continue
|
||||
|
||||
print(cell_data.get_data_path())
|
||||
# if "21-ai" not in cell_data.get_data_path() and "20-ac" not in cell_data.get_data_path():
|
||||
# continue
|
||||
@ -71,7 +74,7 @@ class HelperFunctionsTester(unittest.TestCase):
|
||||
count += 1
|
||||
|
||||
def test_automatic_splitting(self):
|
||||
for cell_data in icelldata_of_dir("./test_data/"):
|
||||
for cell_data in icelldata_of_dir("../data/"):
|
||||
print(cell_data.get_data_path())
|
||||
v1 = cell_data.get_base_traces(cell_data.V1)[0]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user