|
|
@ -18,6 +18,7 @@ class TestSampleImporter(unittest.TestCase): |
|
|
|
with open("./PyCTBN/test_data/networks_and_trajectories_binary_data_01_3.json") as f: |
|
|
|
with open("./PyCTBN/test_data/networks_and_trajectories_binary_data_01_3.json") as f: |
|
|
|
raw_data = json.load(f) |
|
|
|
raw_data = json.load(f) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#read the samples |
|
|
|
trajectory_list_raw= raw_data[0]["samples"] |
|
|
|
trajectory_list_raw= raw_data[0]["samples"] |
|
|
|
|
|
|
|
|
|
|
|
cls.trajectory_list = [pd.DataFrame(sample) for sample in trajectory_list_raw] |
|
|
|
cls.trajectory_list = [pd.DataFrame(sample) for sample in trajectory_list_raw] |
|
|
|