Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions bluepyemodel/emodel_pipeline/emodel_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,16 @@ def __init__(
# Specific to threshold based optimisation
self.name_Rin_protocol = name_Rin_protocol
self.name_rmp_protocol = name_rmp_protocol
if self.extract_absolute_amplitudes and (
self.name_Rin_protocol is not None or self.name_rmp_protocol is not None
):
self.name_Rin_protocol = None
self.name_rmp_protocol = None
logger.warning(
"Setting threshold-based amplitude related settings "
"'name_rmp_protocol' and 'name_Rin_protocol' to None because "
"extract_absolute_amplitudes setting is set to True"
)
self.strict_holding_bounds = strict_holding_bounds

# Settings related to the validation
Expand Down
Loading