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
47b6ccd5
Commit
47b6ccd5
authored
May 23, 2021
by
Matias Guijarro
Committed by
Wout De Nolf
May 27, 2021
Browse files
machinfo: remove useless .metadata property
parent
cb10c1c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
bliss/controllers/machinfo.py
View file @
47b6ccd5
...
...
@@ -186,20 +186,6 @@ class MachInfo(BeaconObject, HasMetadataForScan, HasMetadataForDataset):
meta_dict
[
"message"
]
=
attributes
[
"SR_Operator_Mesg"
]
return
meta_dict
@
BeaconObject
.
property
(
default
=
True
)
def
metadata
(
self
):
"""
Insert machine info metadata's for any scans
"""
return
self
.
scan_metadata_enabled
@
metadata
.
setter
def
metadata
(
self
,
flag
):
if
flag
:
self
.
enable_scan_metadata
()
else
:
self
.
disable_scan_metadata
()
def
iter_wait_for_refill
(
self
,
checktime
,
waittime
=
0.
,
polling_time
=
1.
):
"""
Helper for waiting the machine refill.
...
...
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