-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
In the update generated function the mapped parameter are genereted like this:
# declare and set all dynamic parameters
for value_1 in updated_params.classes:
updated_params.add_entry(value_1)
entry = updated_params.get_entry(value_1)
param_name = f"{self.prefix_}{value_1}.segmentation_threshold" # <- no dot between self.prefix_ and value_1
In the update function they are updated in the following way:
# update dynamic parameters
for param in parameters:
for value_1 in updated_params.classes:
param_name = f"{self.prefix_}.{value_1}.segmentation_threshold" # <- has a dot between self.prefix_ and value_1
self.logger_.info(f"Updating parameter {param_name}")
if param.name == param_name: # <- Fails this verification
...
In this way the mapped parameter always keeps the initial value.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels