Add deprecation warning to MetaArray.__init__

This commit is contained in:
Ogi Moore 2021-06-23 21:27:21 -07:00
parent f764e2d3ff
commit 27ad41a10c

View File

@ -132,6 +132,10 @@ class MetaArray(object):
def __init__(self, data=None, info=None, dtype=None, file=None, copy=False, **kwargs):
object.__init__(self)
warnings.warn(
'MetaArray is deprecated and will be removed in 0.14.',
DeprecationWarning, stacklevel=2
)
self._isHDF = False
if file is not None: