SIENTIAPDE-1312
Update tests notebook execution count and bump image tag in values.yaml - Incremented the execution count in the tests notebook for accurate tracking. - Updated the image tag in values.yaml from "0.0.3" to "1.0.1" for versioning consistency. - Enhanced error handling in model_repository.py to ensure proper retrieval of created experiments.
This commit is contained in:
@@ -175,7 +175,10 @@ class MLFlowRepository:
|
||||
|
||||
if experiment is None:
|
||||
if create_if_not_exists:
|
||||
experiment = mlflow.create_experiment(experiment_name)
|
||||
experiment_id = mlflow.create_experiment(experiment_name)
|
||||
experiment = mlflow.get_experiment(experiment_id)
|
||||
if experiment is None:
|
||||
raise ValueError(f'Experiment {experiment_name} not found after creation, unknown reason')
|
||||
else:
|
||||
raise ValueError(f'Experiment {experiment_name} not found')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user