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
Commits
7dc8de24
Commit
7dc8de24
authored
2 years ago
by
Pierre Tysebaert-Plagne
Browse files
Options
Downloads
Patches
Plain Diff
Fix config_file key
parent
77e12820
No related branches found
No related tags found
1 merge request
!96
Resolve "Add configuration file in the outpout directory"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/s2snow/fsc_config.py
+1
-1
1 addition, 1 deletion
python/s2snow/fsc_config.py
with
1 addition
and
1 deletion
python/s2snow/fsc_config.py
+
1
−
1
View file @
7dc8de24
...
...
@@ -563,7 +563,7 @@ class FscConfig:
def
dump_configuration
(
self
,
dump_path
,
config_file
,
input_dir
,
log
,
chain_version
,
product_counter
):
# Get the fields as a dictionary
conf_keys
=
[
"
dem
"
,
"
tcd
"
,
"
water_mask
"
,
"
config_file
"
]
conf_keys
=
[
"
dem
"
,
"
tcd
"
,
"
water_mask
"
]
key_translation
=
{
"
tcd
"
:
"
tcd_file
"
,
"
water_mask
"
:
"
water_mask_path
"
}
full_data
=
vars
(
self
)
data
=
{
key
:
full_data
[
key_translation
.
get
(
key
,
key
)]
for
key
in
conf_keys
}
...
...
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