Skip to content

Commit 01622e8

Browse files
committed
remove some redundancy in gridded
1 parent 3eb70ec commit 01622e8

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

oceanval/gridded.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,7 @@ def gridded_matchup(
115115

116116
mapping[vv] = list(df.query("variable == @vv").model_variable)[0]
117117

118-
selection = []
119-
try:
120-
selection += mapping[vv].split("+")
121-
except:
122-
selection = selection
118+
selection = mapping[vv].split("+")
123119

124120
patterns = set(df.pattern)
125121
if len(patterns) > 1:

0 commit comments

Comments
 (0)