FIX: HCIDataset should also store cuberef
Even if cuberef is `None`, it should still be stored inside the npz file, as it is expected that a HCIDataset has that attribute (even if None)
@@ -475,7 +475,7 @@ class HCIDataset(Saveable):
"""
_saved_attributes = ["cube", "psf", "psfn", "angles", "fwhm", "wavelengths",
- "px_scale"]
+ "px_scale", "cuberef"]
def __init__(self, cube, hdu=0, angles=None, wavelengths=None, fwhm=None,
px_scale=None, psf=None, psfn=None, cuberef=None):
