Skip to content

Commit

Permalink
Fix text in error message, A leftover from #993 (#1476)
Browse files Browse the repository at this point in the history
  • Loading branch information
mzuehlke authored and shoyer committed Jul 12, 2017
1 parent b201ff7 commit fafc436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/core/variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def __setitem__(self, key, value):
raise TypeError("this variable's data is stored in a dask array, "
'which does not support item assignment. To '
'assign to this variable, you must first load it '
'into memory explicitly using the .load_data() '
'into memory explicitly using the .load() '
'method or accessing its .values attribute.')
data = orthogonally_indexable(self._data)
data[key] = value
Expand Down

0 comments on commit fafc436

Please sign in to comment.