Skip to content

Commit

Permalink
Pattern match correct casing of analysis module algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-el committed May 22, 2024
1 parent 51bfb3c commit 0ec73be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ert/gui/ertwidgets/analysismodulevariablespanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def __init__(self, analysis_module: AnalysisModule, ensemble_size: int):

def update_inversion_algorithm(self, text):
self.truncation_spinner.setEnabled(
not any(val in text for val in ["direct", "exact"])
not any(val in text.lower() for val in ["direct", "exact"])
)
self.analysis_module.inversion = text

Expand Down

0 comments on commit 0ec73be

Please sign in to comment.