Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tomotools
Nabu
Commits
2b1da7fc
Commit
2b1da7fc
authored
May 07, 2021
by
payno
Browse files
[resources][processconfig] simplify _check_dump_file as pipeline/save_steps always exists
parent
6667e1b4
Pipeline
#46423
passed with stage
in 5 minutes and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nabu/resources/processconfig.py
View file @
2b1da7fc
...
...
@@ -582,8 +582,9 @@ class ProcessConfig:
sections_to_ignore
=
[
"reconstruction"
,
"output"
]
for
section
in
sections_to_ignore
:
filedump_nabu_config
[
section
]
=
self
.
nabu_config
[
section
]
if
"pipeline"
in
filedump_nabu_config
and
"save_steps"
in
filedump_nabu_config
[
"pipeline"
]:
filedump_nabu_config
[
"pipeline"
][
"save_steps"
]
=
self
.
nabu_config
[
"pipeline"
][
"save_steps"
]
# special case of the "save_steps process"
filedump_nabu_config
[
"pipeline"
][
"save_steps"
]
=
self
.
nabu_config
[
"pipeline"
][
"save_steps"
]
filedump_nabu_config
[
section
]
=
self
.
nabu_config
[
section
]
diff
=
compare_dicts
(
filedump_nabu_config
,
self
.
nabu_config
)
if
diff
is
not
None
:
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment