EOX GitLab Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ESA
PRISM
VS
Commits
8d62363f
Commit
8d62363f
authored
4 years ago
by
Lubomir Dolezal
Browse files
Options
Downloads
Patches
Plain Diff
fix path in stack step
parent
35808df8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
preprocessor/preprocessor/steps/stack.py
+1
-2
1 addition, 2 deletions
preprocessor/preprocessor/steps/stack.py
with
1 addition
and
2 deletions
preprocessor/preprocessor/steps/stack.py
+
1
−
2
View file @
8d62363f
...
...
@@ -12,8 +12,7 @@ from ..util import replace_ext
def
stack_bands_step
(
source_dir
:
os
.
PathLike
,
target_dir
:
os
.
PathLike
,
group_by
:
str
=
None
,
sort_by
:
str
=
None
,
order
:
List
[
str
]
=
None
):
"""
Stack bands of the individual images
"""
filenames
=
glob
(
join
(
source_dir
,
'
*/*.tif
'
),
recursive
=
True
)
filenames
=
glob
(
join
(
source_dir
,
'
*.tif
'
),
recursive
=
True
)
# check if we have a group_by regex. If yes, use the first
# re-group to group by.
# Fallback is basename of file as groupname
...
...
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