Merge pull request #1862 from j9ac9k/deprecate-metaarray

Deprecate MetaArray Entirely (for 0.14 release)
This commit is contained in:
Ogi Moore 2021-06-24 10:46:14 -07:00 committed by GitHub
commit 3fbb4f6b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

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: