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
5457f4c2
Commit
5457f4c2
authored
Oct 05, 2020
by
Pierre Paleo
Browse files
NX: don't overwrite nabu_processes.h5 when flatfield_enabled = forced
parent
b5897539
Changes
1
Hide whitespace changes
Inline
Side-by-side
nabu/resources/dataset_analyzer.py
View file @
5457f4c2
...
...
@@ -206,6 +206,11 @@ class HDF5DatasetAnalyzer(DatasetAnalyzer):
processes_file
=
self
.
processes_file
if
processes_file
is
None
:
processes_file
=
os
.
path
.
join
(
self
.
dataset_scanner
.
path
,
"nabu_processes.h5"
)
# By default, write in processes_file. Not sure it is a good idea
results_file
=
processes_file
# Don't write in processes_file if flatfield = forced
if
self
.
extra_options
[
"force_flatfield"
]:
results_file
=
None
lookup_files
=
[
DataUrl
(
file_path
=
processes_file
,
...
...
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