Skip to content

Commit

Permalink
Address outstanding TODO from #262
Browse files Browse the repository at this point in the history
  • Loading branch information
sadielbartholomew committed Oct 7, 2021
1 parent fc11e97 commit b9c4897
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions cf/data/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,10 +485,12 @@ def __init__(
except (AttributeError, TypeError):
pass
else:
self._set_dask(array, copy=copy, delete_source=False)
# TODODASK: When PR #257 (dask: Data.__getitem__,
# Data.__setitem__) is merged, add in a
# "reset_mask_hardness=False".
self._set_dask(
array,
copy=copy,
delete_source=False,
reset_mask_hardness=False,
)
else:
self._del_dask(None)

Expand Down

0 comments on commit b9c4897

Please sign in to comment.