This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
testtest
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
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
0edaee5536
a102f6189b
commit
037a87ac09
1 changed files
with
0 additions
and
6 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-6
nd2reader/model/image.py
+ 0
- 6
nd2reader/model/image.py
View File
@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
import
numpy
as
np
import
numpy
as
np
import
warnings
class
Image
(
np
.
ndarray
)
:
class
Image
(
np
.
ndarray
)
:
@ -99,8 +98,3 @@ class Image(np.ndarray):
"""
"""
return
self
.
_z_level
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
Write
Preview
Loading…
Cancel
Save