From d6d6e05464ebc203357ad1469438f7fd1d115b6f Mon Sep 17 00:00:00 2001 From: Mariia Date: Wed, 17 Jan 2024 00:12:15 +0100 Subject: [PATCH] Chnage the paths to configs --- src/server/test/test_models.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/server/test/test_models.py b/src/server/test/test_models.py index 1d9ec8a..9f8ca51 100644 --- a/src/server/test/test_models.py +++ b/src/server/test/test_models.py @@ -16,9 +16,9 @@ def test_eval_rf_not_fitted(): - model_config = read_config('model', config_path='test/test_config_RF.cfg') - train_config = read_config('train', config_path='test/test_config_RF.cfg') - eval_config = read_config('eval', config_path='test/test_config_RF.cfg') + model_config = read_config('model', config_path='test/configs/test_config_RF.cfg') + train_config = read_config('train', config_path='test/configs/test_config_RF.cfg') + eval_config = read_config('eval', config_path='test/configs/test_config_RF.cfg') model_rf = models.CellClassifierShallowModel(model_config,train_config,eval_config) @@ -28,9 +28,9 @@ def test_eval_rf_not_fitted(): def test_update_configs(): - model_config = read_config('model', config_path='test/test_config_RF.cfg') - train_config = read_config('train', config_path='test/test_config_RF.cfg') - eval_config = read_config('eval', config_path='test/test_config_RF.cfg') + model_config = read_config('model', config_path='test/configs/test_config_RF.cfg') + train_config = read_config('train', config_path='test/configs/test_config_RF.cfg') + eval_config = read_config('eval', config_path='test/configs/test_config_RF.cfg') model = models.CustomCellposeModel(model_config,train_config,eval_config)