Add deprecation warning to MetaArray.__init__
This commit is contained in:
parent
f764e2d3ff
commit
27ad41a10c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user