diff --git a/tests/bluecellulab-bb5-tests/Makefile b/tests/bluecellulab-bb5-tests/Makefile index 75f538a2..3114f9f1 100644 --- a/tests/bluecellulab-bb5-tests/Makefile +++ b/tests/bluecellulab-bb5-tests/Makefile @@ -2,7 +2,7 @@ PIP_INDEX_URL := https://pypi.python.org/simple NEURON_MODULE_OPTIONS := '-nogui' TESTS_DIR := tests -MECHANISMS_DIR := ./../tests/mechanisms/ +MECHANISMS_DIR := ./../mechanisms/ PYTEST_OPTS := --numprocesses=auto --timeout=600 -vsx --forked # Default rule (similar to 'testenv' in tox) diff --git a/tests/bluecellulab-bb5-tests/tests/test_ssim.py b/tests/bluecellulab-bb5-tests/tests/test_ssim.py index 2a621994..7145073d 100644 --- a/tests/bluecellulab-bb5-tests/tests/test_ssim.py +++ b/tests/bluecellulab-bb5-tests/tests/test_ssim.py @@ -125,7 +125,7 @@ def test_compare_traces(self): assert len(voltage_bglib) == len(time_bglib) == 1000 voltage_bglibpy = self.ssim_bglibpy.get_voltage_trace(self.gid)[ - 0 : len(voltage_bglib) + 0: len(voltage_bglib) ] rms_error = rms(voltage_bglibpy, voltage_bglib) @@ -176,7 +176,7 @@ def test_compare_traces(self): assert len(voltage_bglib) == 1000 voltage_bglibpy = self.ssim_bglibpy.get_voltage_trace(self.gid)[ - 0 : len(voltage_bglib) + 0: len(voltage_bglib) ] rms_error = rms(voltage_bglibpy, voltage_bglib) @@ -189,7 +189,7 @@ def test_disable_replay(self): voltage_bglibpy_withoutreplay = ( self.ssim_bglibpy_withoutreplay.get_voltage_trace(self.gid)[ - 0 : len(voltage_bglib) + 0: len(voltage_bglib) ] ) @@ -231,7 +231,7 @@ def test_compare_traces(self): assert len(voltage_bglib) == 1000 voltage_bglibpy = self.ssim_bglibpy.get_voltage_trace(self.gid)[ - 0 : len(voltage_bglib) + 0: len(voltage_bglib) ] rms_error = rms(voltage_bglibpy, voltage_bglib) @@ -273,7 +273,7 @@ def test_compare_traces(self): assert len(voltage_bglib) == 1000 voltage_bglibpy = self.ssim_bglibpy.get_voltage_trace(self.gid)[ - 0 : len(voltage_bglib) + 0: len(voltage_bglib) ] rms_error = rms(voltage_bglibpy, voltage_bglib) @@ -424,7 +424,7 @@ def test_compare_traces(self): assert len(self.voltage_bglib_mvr) == 1000 voltage_bglibpy_mvr = self.ssim_bglibpy_mvr.get_voltage_trace(self.gid)[ - 0 : len(self.voltage_bglib_mvr) + 0: len(self.voltage_bglib_mvr) ] rms_error = rms(voltage_bglibpy_mvr, self.voltage_bglib_mvr) @@ -482,7 +482,7 @@ def test_compare_traces(self): assert len(voltage_bglib) == 1000 voltage_bglibpy = self.ssim_bglibpy.get_voltage_trace(self.gid)[ - 0 : len(voltage_bglib) + 0: len(voltage_bglib) ] rms_error = rms(voltage_bglibpy, voltage_bglib) @@ -495,7 +495,7 @@ def test_disable_minis(self): voltage_bglibpy_withoutminis = self.ssim_bglibpy_withoutminis.get_voltage_trace( self.gid - )[0 : len(voltage_bglib)] + )[0: len(voltage_bglib)] rms_error = rms(voltage_bglibpy_withoutminis, voltage_bglib) @@ -546,7 +546,7 @@ def test_compare_traces(self): assert len(voltage_bglib) == 1000 voltage_bglibpy = self.ssim_bglibpy.get_voltage_trace(self.gid)[ - 0 : len(voltage_bglib) + 0: len(voltage_bglib) ] rms_error = rms(voltage_bglibpy, voltage_bglib) @@ -559,7 +559,7 @@ def test_disable_stimuli(self): voltage_bglibpy_withoutstim = self.ssim_bglibpy_withoutstim.get_voltage_trace( self.gid - )[0 : len(voltage_bglib)] + )[0: len(voltage_bglib)] rms_error = rms(voltage_bglibpy_withoutstim, voltage_bglib) assert rms_error > 1.0 @@ -608,7 +608,7 @@ def test_compare_traces(self): assert len(voltage_bglib) == 1000 voltage_bglibpy = self.ssim_bglibpy.get_voltage_trace(self.gid)[ - 0 : len(voltage_bglib) + 0: len(voltage_bglib) ] rms_error = rms(voltage_bglibpy, voltage_bglib) @@ -622,7 +622,7 @@ def test_disable_stimuli(self): voltage_bglibpy_withoutstim = self.ssim_bglibpy_withoutstim.get_voltage_trace( self.gid - )[0 : len(voltage_bglib)] + )[0: len(voltage_bglib)] rms_error = rms(voltage_bglibpy_withoutstim, voltage_bglib) assert rms_error > 20.0