Skip to content

Fix direct replacement of .data in a DataArray object

Simon Conseil requested to merge fix-replace-data into master

When the DataArray object has just been created, from a FITS file, replacing the .data was not working correctly: the test on self._mask in the data setter was causing the loading of data and mask from the FITS file, overriding the new data.

Merge request reports