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
6667e1b4
Commit
6667e1b4
authored
May 07, 2021
by
payno
Browse files
[resources][processconfig] fix '_check_dump_file' ignore output section and "pipeline/save_steps"
parent
94c92de5
Pipeline
#46422
passed with stage
in 5 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nabu/resources/processconfig.py
View file @
6667e1b4
...
...
@@ -579,9 +579,12 @@ class ProcessConfig:
"configuration/nabu_config"
)
)
sections_to_ignore
=
[
"reconstruction"
]
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"
]
filedump_nabu_config
[
section
]
=
self
.
nabu_config
[
section
]
diff
=
compare_dicts
(
filedump_nabu_config
,
self
.
nabu_config
)
if
diff
is
not
None
:
msg
=
"Nabu configuration in file %s differ from the current one: %s"
%
(
process_file
,
diff
)
...
...
payno
@payno
mentioned in commit
5bde4189
·
May 07, 2021
mentioned in commit
5bde4189
mentioned in commit 5bde418988d66993f1ddf7d29065c06aa20f81f5
Toggle commit list
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