File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -118,8 +118,8 @@ def get_input_specs(cls):
118118 for param_name , param_key in config ["add_params" ]:
119119 new_sub .addParam (param_name , descr = current_sub .parameters [param_key ]['description' ])
120120 # Replace the old sub with the new one
121- current_sub .popSub (sub_name )
122- current_sub .addSub (new_sub )
121+ _ = sub .popSub (sub_name )
122+ sub .addSub (new_sub )
123123
124124 for sub in input_specs .subs :
125125 if sub .getName () == "economics" :
@@ -133,9 +133,9 @@ def get_input_specs(cls):
133133 # Add parameters if any
134134 for param_name , param_key in config ["add_params" ]:
135135 new_sub .addParam (param_name , descr = current_sub .parameters [param_key ]['description' ])
136- # Replace the old sub with the new one
137- current_sub .popSub (sub_name )
138- current_sub .addSub (new_sub )
136+ # Replace the old sub with the new one
137+ econ_sub .popSub (sub_name )
138+ econ_sub .addSub (new_sub )
139139
140140 return input_specs
141141
You can’t perform that action at this time.
0 commit comments