Skip to content

Commit

Permalink
Removed inplace argument
Browse files Browse the repository at this point in the history
This has been removed in xarray
  • Loading branch information
Chilipp committed Sep 21, 2019
1 parent 38064a1 commit 97cd434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gwgen/evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def ds(self):
full = xr.Dataset.from_dataframe(data).drop(list(chain(
self.data.index.names, ['pctl'])))
idx_name = full[next(v for v in self.names) + '_sim'].dims[-1]
full.rename({idx_name: 'full_index'}, inplace=True)
full = full.rename({idx_name: 'full_index'})
for vref, vsim in self.all_variables:
full.rename({vref: 'all_' + vref, vsim: 'all_' + vsim},
inplace=True)
Expand Down

0 comments on commit 97cd434

Please sign in to comment.