Skip to content
Snippets Groups Projects
Commit 1bdb5b8f authored by Aurore Dupuis's avatar Aurore Dupuis
Browse files

Merge branch '93-blue-band-read' into 'int_stage_roman'

Resolve "Blue band read"

See merge request !85
parents 554f4635 69b90f64
No related branches found
No related tags found
2 merge requests!85Resolve "Blue band read",!71Added Shaded Snow
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment