Skip to content

Commit

Permalink
[BBPBGLIB-851]Warning on cao_CR syn variable if not the same as extra…
Browse files Browse the repository at this point in the history
…cellular_calcium (#26)
  • Loading branch information
WeinaJi authored Aug 14, 2023
1 parent 4e6fed1 commit c621b9a
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 c621b9a

Please sign in to comment.