Compare commits

...

2 Commits

Author SHA1 Message Date
bc9ec6d536 Merge pull request 'Fix: re-add missing else clause for b_method assignment' (#4) from bugfix/recover-b_method-assignment into master
Reviewed-on: #4
Reviewed-by: asia <asia@noreply.example.org>
2025-06-02 13:50:20 +02:00
08d608e39d Fix: re-add missing else clause for b_method assignment
During migration, the original fix was partially applied—`else` clause assigning `b_method` was unintentionally omitted. This commit restores the full logic as intended by the original author.
2025-06-02 13:46:06 +02:00

View File

@ -207,7 +207,9 @@ def main(Input_catalog, Input_injection_rate, time_win_in_hours, time_step_in_ho
if f_indx in [0,1,2,4]: if f_indx in [0,1,2,4]:
if not b_method: if not b_method:
raise ValueError("Please chose an option for b-value") raise ValueError("Please choose an option for b-value")
else:
Feat_dic['Param'][0]['b_method'] = b_method
if f_indx in [0,4]: if f_indx in [0,4]:
for cl_i in cl: for cl_i in cl: