1
0
Fork 0

Update test_tabu_search.py

master
lmoretti96 4 years ago committed by GitHub
parent fa0c336421
commit 24844be838
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      PyCTBN/tests/optimizers/test_tabu_search.py

@ -75,7 +75,8 @@ class TestTabuSearch(unittest.TestCase):
def test_structure_3(self): def test_structure_3(self):
with open("./PyCTBN/test_data/networks_and_trajectories_ternary_data_01_6_1.json") as f: with open("./PyCTBN/test_data/networks_and_trajectories_ternary_data_01_6_1.json") as f:
raw_data = json.load(f) raw_data = json.load(f)
# read the samples
trajectory_list_raw= raw_data["samples"] trajectory_list_raw= raw_data["samples"]
trajectory_list = [pd.DataFrame(sample) for sample in trajectory_list_raw] trajectory_list = [pd.DataFrame(sample) for sample in trajectory_list_raw]