Skip to content

Commit 25914b1

Browse files
committed
Fixed error to pass github actions
1 parent 0dcae52 commit 25914b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pySWATPlus/sensitivity_analyzer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,9 +834,10 @@ def simulation_and_indices(
834834
norm_col='obs'
835835
)
836836
# Indicator method from abbreviation
837+
ind_abbr = metric_config[m]['indicator']
837838
ind_method = getattr(
838839
PerformanceMetrics(),
839-
f'compute_{metric_config[m]['indicator'].lower()}'
840+
f'compute_{ind_abbr.lower()}'
840841
)
841842
# Indicator value computed from method
842843
ind_val = ind_method(

0 commit comments

Comments
 (0)