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
Bliss
bliss
Commits
ded600df
Commit
ded600df
authored
May 27, 2021
by
Wout De Nolf
Browse files
scan_info initialization must be done before Flint initialization
parent
f6756865
Changes
1
Hide whitespace changes
Inline
Side-by-side
bliss/scanning/scan.py
View file @
ded600df
...
...
@@ -650,13 +650,15 @@ class Scan:
self
.
__node
=
None
self
.
__comments
=
list
()
# user comments
#
S
can initialization:
#
Independent s
can initialization
(order not important)
:
self
.
_init_acq_chain
(
chain
)
self
.
_init_scan_saving
(
scan_saving
)
self
.
_init_scan_display
()
# Dependent scan initialization (order is important):
self
.
_metadata_at_scan_instantiation
(
scan_info
=
scan_info
,
save
=
save
)
self
.
_init_writer
(
save
=
save
,
save_images
=
save_images
)
self
.
_init_flint
()
self
.
_metadata_at_scan_instantiation
(
scan_info
=
scan_info
,
save
=
save
)
def
_init_scan_saving
(
self
,
scan_saving
):
if
scan_saving
is
None
:
...
...
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