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
af15f694
Commit
af15f694
authored
May 06, 2021
by
Pierre Paleo
Browse files
Rename variable (2)
parent
4e02e54b
Changes
1
Hide whitespace changes
Inline
Side-by-side
nabu/resources/processconfig.py
View file @
af15f694
...
...
@@ -560,6 +560,7 @@ class ProcessConfig:
"configuration/nabu_config/reconstruction"
)
dump_start_z
=
get_h5_value
(
process_file
,
posixpath
.
join
(
rec_cfg_h5_path
,
"start_z"
))
dump_end_z
=
get_h5_value
(
process_file
,
posixpath
.
join
(
rec_cfg_h5_path
,
"end_z"
))
start_z
,
end_z
=
self
.
nabu_config
[
"reconstruction"
][
"start_z"
],
self
.
nabu_config
[
"reconstruction"
][
"end_z"
]
if
not
(
dump_start_z
<=
start_z
and
end_z
<=
dump_end_z
):
msg
=
"File %s was built with start_z=%d, end_z=%d but current configuration asks for start_z=%d, end_z=%d"
%
(
process_file
,
dump_start_z
,
dump_end_z
,
start_z
,
end_z
)
...
...
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