4 Commits

Author SHA1 Message Date
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
ebbb127814 Update README.md 2025-04-23 19:08:56 +02:00
fd14d2ac17 Update README.md for consistency with OfficialAppTemplate 2025-04-15 11:55:20 +02:00
27cfbec8ba 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>
2025-03-24 14:32:27 +01:00
2 changed files with 8 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

@@ -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 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]:
for cl_i in cl: