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
nxtomomill
Commits
fff7b2f1
Commit
fff7b2f1
authored
Feb 07, 2022
by
Henri Payno
Browse files
h5converter: fix: better handling of x, y and z translation
parent
2ba295da
Changes
1
Hide whitespace changes
Inline
Side-by-side
nxtomomill/converter/hdf5/acquisition/baseacquisition.py
View file @
fff7b2f1
...
...
@@ -421,7 +421,7 @@ class BaseAcquisition:
else
:
mess
+=
"default value will be set. (0)"
_logger
.
warning
(
mess
)
return
0
,
"m"
return
[
0
]
*
n_frame
,
"m"
def
_get_y_translation
(
self
,
root_node
,
n_frame
)
->
tuple
:
"""return the list of translation for each frame"""
...
...
@@ -449,7 +449,7 @@ class BaseAcquisition:
else
:
mess
+=
"default value will be set. (0)"
_logger
.
warning
(
mess
)
return
0
,
"m"
return
[
0
]
*
n_frame
,
"m"
@
staticmethod
def
get_z_translation_frm
(
root_node
,
n_frame
:
int
,
configuration
:
TomoHDF5Config
):
...
...
@@ -477,7 +477,7 @@ class BaseAcquisition:
else
:
mess
+=
"default value will be set. (0)"
_logger
.
warning
(
mess
)
return
0
,
"m"
return
[
0
]
*
n_frame
,
"m"
def
_get_z_translation
(
self
,
root_node
,
n_frame
)
->
tuple
:
"""return the list of translation for each frame"""
...
...
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