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
ea7bf49f
Commit
ea7bf49f
authored
Sep 29, 2020
by
Pierre Paleo
Browse files
dataset_validator: update error message
parent
1563ab5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
nabu/resources/dataset_validator.py
View file @
ea7bf49f
...
...
@@ -58,7 +58,7 @@ class NabuValidator(object):
ny
=
nx
if
self
.
nabu_config
[
"reconstruction"
][
"enable_halftomo"
]:
if
self
.
dataset_infos
.
axis_position
is
None
:
raise
ValueError
(
"rotation
_
axis
_
position
should be either a number or 'auto' for half tomo
"
)
raise
ValueError
(
"
Cannot use
rotation
axis
position
in the middle of the detector when half tomo is enabled
"
)
cor
=
int
(
round
(
self
.
dataset_infos
.
axis_position
))
ny
=
nx
=
2
*
cor
what
=
(
...
...
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