Skip to content

Commit 3626517

Browse files
committed
Bugfix from renaming to .submodel
1 parent 4d7fd29 commit 3626517

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/03_Calculation_types/example_calculation_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def get_solutions(calcs: List, variable: str) -> xr.Dataset:
188188
if calc.name == 'Segmented':
189189
dataarrays.append(calc.results.solution_without_overlap(variable).rename(calc.name))
190190
else:
191-
dataarrays.append(calc.results.submodel.variables[variable].solution.rename(calc.name))
191+
dataarrays.append(calc.results.model.variables[variable].solution.rename(calc.name))
192192
return xr.merge(dataarrays)
193193

194194
# --- Plotting for comparison ---

0 commit comments

Comments
 (0)