7 Commits

2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
MaxMagnitudeDPModels app official repository # MaxMagnitudeDPModels — Official Application Repository
Link to remote: https://epos-apps.grid.cyfronet.pl/official-apps/MaxMagnitudeDPModels This repository contains the source code and configuration files for the `MaxMagnitudeDPModels` application used within the [EPISODES Platform](https://EpisodesPlatform.eu/).
📦 To test or modify this application in the EPISODES Platform environment, follow the guide:
https://docs.cyfronet.pl/display/ISDOC/Editing+application+codes+guide

View File

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