Skip to content

Commit

Permalink
Update test_gapfiller.py
Browse files Browse the repository at this point in the history
  • Loading branch information
beach-fossils authored Nov 24, 2023
1 parent 001d861 commit 81874df
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/unit_tests/biomeneco/test_gapfiller.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ def __init__(self, id, *args, **kwargs):
class TestGapFiller(unittest.TestCase):

def setUp(self):
# Setup for the tests, creating a GapFiller instance
self.model_path = "/Users/josediogomoura/gap_filling_dl/tests/data/test_model/model_toy_network_copy.xml"
self.universal_model_path = '/Users/josediogomoura/gap_filling_dl/utilities/universal_model.xml'
self.results_path = os.path.join(TEST_DIR, "data/test_model/output")
base_dir = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
self.model_path = os.path.join(base_dir, "data/test_model/model_toy_network_copy.xml")
self.universal_model_path = os.path.join(base_dir, "utilities/universal_model.xml")
self.results_path = os.path.join(base_dir, "data/test_model/output")
self.max_solutions = 1
self.gf = GapFiller(self.model_path, self.universal_model_path, self.results_path, self.max_solutions)

self.gf.seeds_path = os.path.join(TEST_DIR, "data/test_model/model_seeds.xml")
self.gf.targets_path = os.path.join(TEST_DIR, "data/test_model/model_targets.xml")
self.gf.seeds_path = os.path.join(base_dir, "data/test_model/model_seeds.xml")
self.gf.targets_path = os.path.join(base_dir, "data/test_model/model_targets.xml")

# def tearDown(self):
# # remove the mock files
Expand Down

0 comments on commit 81874df

Please sign in to comment.