From f2356faafa7b2efb0612fac3c955dd6bed751056 Mon Sep 17 00:00:00 2001 From: Constantin Pape <constantin.pape@iwr.uni-heidelberg.de> Date: Tue, 9 Jul 2019 11:40:55 +0200 Subject: [PATCH] Update region attribute tests --- test/attributes/check_visually.py | 2 +- test/attributes/test_regions.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/attributes/check_visually.py b/test/attributes/check_visually.py index 8c9af89..159b8e0 100644 --- a/test/attributes/check_visually.py +++ b/test/attributes/check_visually.py @@ -6,7 +6,7 @@ from cremi_tools.viewer.volumina import view def check_region_mapping(): - t = '../../data/tmp/tables/sbem-6dpf-1-whole-segmented-cells-labels/regions.csv' + t = '../../data/0.1.1/tables/sbem-6dpf-1-whole-segmented-cells-labels/regions.csv' table = pd.read_csv(t, sep='\t') label_ids = table['label_id'].values head_ids = table['head'].values diff --git a/test/attributes/test_regions.py b/test/attributes/test_regions.py index 7ac4378..592d6af 100644 --- a/test/attributes/test_regions.py +++ b/test/attributes/test_regions.py @@ -15,7 +15,7 @@ sys.path.append('../..') class TestRegions(unittest.TestCase): tmp_folder = 'tmp' - def _tearDown(self): + def tearDown(self): try: rmtree(self.tmp_folder) except OSError: -- GitLab