Browse Source

resolves #113: removed `.data` property from images now that they simply behave like numpy arrays

zolfa-add_slices_loading
jim 9 years ago
parent
commit
a102f6189b
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      nd2reader/model/image.py

+ 0
- 6
nd2reader/model/image.py View File

@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
import numpy as np
import warnings
class Image(np.ndarray):
@ -99,8 +98,3 @@ class Image(np.ndarray):
"""
return self._z_level
@property
def data(self):
warnings.warn("Image objects now directly subclass Numpy arrays, so using the data attribute will be removed in the near future.", DeprecationWarning)
return self

Loading…
Cancel
Save