From 8e8d696d131afd96b8d37c7c5a56ca19900c8359 Mon Sep 17 00:00:00 2001 From: AdityaBITMESRA Date: Thu, 11 Jul 2024 21:59:08 +0530 Subject: [PATCH] changes --- tests/swc/test_LoadSWC.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/swc/test_LoadSWC.py b/tests/swc/test_LoadSWC.py index 5dac3dc0..f2badbd8 100644 --- a/tests/swc/test_LoadSWC.py +++ b/tests/swc/test_LoadSWC.py @@ -84,8 +84,9 @@ class TestSWCExport(unittest.TestCase): def setUp(self): """Set up file paths for testing.""" - self.input_file = "Case1_new.swc" - self.output_file = "Case1_exported.swc" + current_dir = os.path.dirname(os.path.abspath(__file__)) + self.input_file = os.path.join(current_dir, "Case1_new.swc") + self.output_file = os.path.join(current_dir, "Case1_exported.swc") def test_load_export_compare(self): """Test loading an SWC file, exporting it, and comparing the results."""