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
nxtomomill
Commits
5cd24083
Unverified
Commit
5cd24083
authored
Nov 19, 2021
by
Henri Payno
Browse files
fix typo
parent
de003ea0
Pipeline
#59877
passed with stages
in 6 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nxtomomill/converter/hdf5/acquisition/standardacquisition.py
View file @
5cd24083
...
...
@@ -595,9 +595,9 @@ class StandardAcquisition(BaseAcquisition):
unit
=
"m"
else
:
distance
,
unit
=
self
.
_get_distance
()
if
distance
is
not
None
:
detector_node
[
"distance"
]
=
distance
detector_node
[
"distance"
].
attrs
[
"unit"
]
=
unit
if
distance
is
not
None
:
detector_node
[
"distance"
]
=
distance
detector_node
[
"distance"
].
attrs
[
"unit"
]
=
unit
# write x and y pixel size
# if magnified pixel size is found then we right this value.
# otherwise will take pixel size (if found)
...
...
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