Skip to content
Snippets Groups Projects
Commit 1016d18c authored by Maximilian Schmidt's avatar Maximilian Schmidt
Browse files

Fix parameter check in simulation

parent aa791593
No related branches found
No related tags found
1 merge request!1Add all necessary files for the multi-area model
...@@ -52,8 +52,8 @@ class Simulation: ...@@ -52,8 +52,8 @@ class Simulation:
default parameters defined in default_params.py default parameters defined in default_params.py
""" """
self.params = copy(sim_params) self.params = copy(sim_params)
check_custom_params(sim_spec, self.params)
if isinstance(sim_spec, dict): if isinstance(sim_spec, dict):
check_custom_params(sim_spec, self.params)
self.custom_params = sim_spec self.custom_params = sim_spec
else: else:
fn = os.path.join(data_path, fn = os.path.join(data_path,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment