diff --git a/examples/emodel_pipeline_local_python/pipeline.py b/examples/emodel_pipeline_local_python/pipeline.py index 8018d039..54ee0b9f 100644 --- a/examples/emodel_pipeline_local_python/pipeline.py +++ b/examples/emodel_pipeline_local_python/pipeline.py @@ -80,6 +80,10 @@ def configure_targets(access_point): "tolerance": 20 }) + if not files_metadata: + raise FileNotFoundError("Cannot find electrophysiological experimental data. " + "Please provide them, with the correct path to them in targets.py.") + configurator = TargetsConfigurator(access_point) configurator.new_configuration(files_metadata, targets_formated, protocols_rheobase) configurator.save_configuration()