From d7c79fafc93061014ce00e591717bf85b5ce8d6b Mon Sep 17 00:00:00 2001 From: romina1601 Date: Thu, 12 Sep 2024 12:31:37 +0300 Subject: [PATCH] Comment out test_run_models.py until tvbo is public and can be accessed by GithubActions --- tvb_ext_ontology/tests/test_run_models.py | 56 +++++++++++------------ 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/tvb_ext_ontology/tests/test_run_models.py b/tvb_ext_ontology/tests/test_run_models.py index df053f9..186ca1b 100644 --- a/tvb_ext_ontology/tests/test_run_models.py +++ b/tvb_ext_ontology/tests/test_run_models.py @@ -1,28 +1,28 @@ -import unittest -from tvbo.api import ontology_api -from tvbo.knowledge.ontology import get_models - - -class TestOntologyAPI(unittest.TestCase): - - def test_simulation_experiment(self): - models = get_models().keys() # Fetch actual models - api = ontology_api.OntologyAPI() # Initialize real API - - for m in models: - metadata = { - "model": {"label": m, "parameters": {}}, - "connectivity": { - "parcellation": {"atlas": {"name": "Destrieux"}}, - "tractogram": {"label": "PPMI85"}, - }, - "coupling": {"label": "Linear"}, - "integration": {"method": "Heun", "noise": None}, - } - # Configure and run the simulation experiment - api.configure_simulation_experiment(metadata) - api.experiment.run(simulation_length=10) - - -if __name__ == "__main__": - unittest.main() +# import unittest +# from tvbo.api import ontology_api +# from tvbo.knowledge.ontology import get_models +# +# +# class TestOntologyAPI(unittest.TestCase): +# +# def test_simulation_experiment(self): +# models = get_models().keys() # Fetch actual models +# api = ontology_api.OntologyAPI() # Initialize real API +# +# for m in models: +# metadata = { +# "model": {"label": m, "parameters": {}}, +# "connectivity": { +# "parcellation": {"atlas": {"name": "Destrieux"}}, +# "tractogram": {"label": "PPMI85"}, +# }, +# "coupling": {"label": "Linear"}, +# "integration": {"method": "Heun", "noise": None}, +# } +# # Configure and run the simulation experiment +# api.configure_simulation_experiment(metadata) +# api.experiment.run(simulation_length=10) +# +# +# if __name__ == "__main__": +# unittest.main()