Skip to content
GitLab
Menu
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
ccda08db
Commit
ccda08db
authored
Nov 09, 2020
by
Pierre Paleo
Browse files
EDFDatasetScanner: fix remove_unused_projections
parent
0dd8f1b9
Pipeline
#37567
passed with stages
in 5 minutes and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nabu/resources/dataset_analyzer.py
View file @
ccda08db
...
...
@@ -144,7 +144,7 @@ class DatasetAnalyzer(object):
return
# Extraneous projections are assumed to be on the end
projs_indices
=
sorted
(
self
.
projections
.
keys
())
used_radios_range
=
range
(
projs_indices
[
0
],
self
.
n_angles
)
used_radios_range
=
range
(
projs_indices
[
0
],
self
.
dataset_scanner
.
tomo_n
)
radios_not_used
=
[]
for
idx
in
self
.
projections
.
keys
():
if
idx
not
in
used_radios_range
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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