Browse Source

Merge pull request #121 from jimrybarski/113-remove-deprecated-function

resolves #113: removed `.data` property from images now that they sim…
zolfa-add_slices_loading
Jim Rybarski 9 years ago
parent
commit
037a87ac09
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