Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aliby-mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Swain Lab
aliby
aliby-mirror
Commits
e3f173b6
Commit
e3f173b6
authored
2 years ago
by
Alán Muñoz
Browse files
Options
Downloads
Patches
Plain Diff
refactor(image): homogeneise local interfaces
parent
0a0ff940
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/aliby/io/image.py
+2
-2
2 additions, 2 deletions
src/aliby/io/image.py
with
2 additions
and
2 deletions
src/aliby/io/image.py
+
2
−
2
View file @
e3f173b6
...
@@ -97,7 +97,7 @@ class ImageLocal:
...
@@ -97,7 +97,7 @@ class ImageLocal:
@property
@property
def
data
(
self
):
def
data
(
self
):
return
self
.
get_data_lazy
_local
()
return
self
.
get_data_lazy
()
@property
@property
def
date
(
self
):
def
date
(
self
):
...
@@ -124,7 +124,7 @@ class ImageLocal:
...
@@ -124,7 +124,7 @@ class ImageLocal:
def
metadata
(
self
):
def
metadata
(
self
):
return
self
.
_meta
return
self
.
_meta
def
get_data_lazy
_local
(
self
)
->
da
.
Array
:
def
get_data_lazy
(
self
)
->
da
.
Array
:
"""
Return 5D dask array. For lazy-loading multidimensional tiff files
"""
"""
Return 5D dask array. For lazy-loading multidimensional tiff files
"""
if
not
hasattr
(
self
,
"
formatted_img
"
):
if
not
hasattr
(
self
,
"
formatted_img
"
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment