Merge pull request 'ISEPOS-2325 Fix 'NoneType' object is not iterable' (#1) from bugfix/ISEPOS-2325-fix-nontype-object-bug into master

Reviewed-on: #1
Reviewed-by: asia <asia@noreply.example.org>
Reviewed-by: ymwenda <ymwenda@noreply.example.org>
This commit is contained in:
mieszkomakuch 2025-03-24 14:32:27 +01:00
commit 27cfbec8ba

View File

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