Skip to content

Commit

Permalink
add a warning when no RANGE variable is defined in mod file when plot…
Browse files Browse the repository at this point in the history
…ting currentscape
  • Loading branch information
ilkilic committed Nov 1, 2024
1 parent 07d3963 commit 077e3fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bluepyemodel/emodel_pipeline/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -1977,6 +1977,10 @@ def plot_models(
dendritic_feature_plots(mo, "rheobase", dest_leaf, figures_dir)

if plot_currentscape:
logger.warning(
"If a .mod file lacks RANGE current variable, "
"no associated current will be plotted in Currentscape."
)
config = access_point.pipeline_settings.currentscape_config
figures_dir_currentscape = figures_dir / "currentscape" / dest_leaf
currentscape(
Expand Down

0 comments on commit 077e3fd

Please sign in to comment.