Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
let-it-snow
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Remote Modules
let-it-snow
Merge requests
!85
Resolve "Blue band read"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Blue band read"
93-blue-band-read
into
int_stage_roman
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Aurore Dupuis
requested to merge
93-blue-band-read
into
int_stage_roman
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Closes
#93 (closed)
Edited
2 years ago
by
Aurore Dupuis
0
0
Merge request reports
Viewing commit
69b90f64
Show latest version
1 file
+
9
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
69b90f64
Fix blue_band retrieving
· 69b90f64
Aurore Dupuis
authored
2 years ago
python/s2snow/fsc_config.py
+
9
−
5
Options
@@ -311,11 +311,15 @@ class FscConfig:
blue_band
=
input
.
get
(
"
blue_band
"
,
None
)
if
blue_band
is
not
None
:
self
.
blue_band
=
blue_band
.
get
(
"
no_band
"
,
1
)
self
.
blue_band_path
=
blue_band
.
get
(
"
path
"
,
None
)
else
:
self
.
blue_band_no_band
=
1
self
.
blue_band_path
=
None
blue_band_no_band
=
blue_band
.
get
(
"
no_band
"
,
None
)
if
blue_band_no_band
is
not
None
:
self
.
blue_band_no_band
=
blue_band_no_band
# surcharge avec la valeur dans le fichier de configuration
else
:
if
self
.
blue_band_no_band
is
None
:
self
.
blue_band_no_band
=
1
# default value
blue_band_path
=
green_band
.
get
(
"
path
"
,
None
)
if
blue_band_path
is
not
None
:
self
.
blue_band_path
=
blue_band_path
# surcharge avec la valeur dans le fichier de configuration
green_band
=
input
.
get
(
"
green_band
"
,
None
)
if
green_band
is
not
None
:
Loading