Skip to content

Commit

Permalink
[BBPBGLIB-851]Warning on cao_CR if not the same as extracellular_calcium
Browse files Browse the repository at this point in the history
  • Loading branch information
WeinaJi committed Aug 11, 2023
1 parent 1cd09df commit 8af8f96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions neurodamus/core/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,9 @@ def _simulator_globals(config: _SimConfig, run_conf):
else:
log_verbose("GLOBAL %s = %s", key, value)
setattr(h, key, value)
if "cao_CR" in key and value != config.extracellular_calcium:
logging.warning("Value of %s (%s) is not the same as extracellular_calcium (%s)"
% (key, value, config.extracellular_calcium))


@SimConfig.validator
Expand Down

0 comments on commit 8af8f96

Please sign in to comment.