Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Commits
3929d81c
Commit
3929d81c
authored
3 years ago
by
Taya Snijder
Browse files
Options
Downloads
Patches
Plain Diff
updated docstring
parent
b38a5241
No related branches found
No related tags found
1 merge request
!197
Resolve L2SS-363 "01 12 2021 get rw values from hardware"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tangostationcontrol/tangostationcontrol/clients/attribute_wrapper.py
+2
-2
2 additions, 2 deletions
...ncontrol/tangostationcontrol/clients/attribute_wrapper.py
with
2 additions
and
2 deletions
tangostationcontrol/tangostationcontrol/clients/attribute_wrapper.py
+
2
−
2
View file @
3929d81c
...
@@ -76,7 +76,7 @@ class attribute_wrapper(attribute):
...
@@ -76,7 +76,7 @@ class attribute_wrapper(attribute):
@fault_on_error
()
@fault_on_error
()
def
write_func_wrapper
(
device
,
value
):
def
write_func_wrapper
(
device
,
value
):
"""
"""
_
write_
RW
writes a value to this attribute
write_
func_wrapper
writes a value to this attribute
"""
"""
self
.
write_function
(
value
)
self
.
write_function
(
value
)
...
@@ -90,7 +90,7 @@ class attribute_wrapper(attribute):
...
@@ -90,7 +90,7 @@ class attribute_wrapper(attribute):
@fault_on_error
()
@fault_on_error
()
def
read_func_wrapper
(
device
):
def
read_func_wrapper
(
device
):
"""
"""
_
read_
R
reads the attribute value, stores it and returns it
"
read_
func_wrapper
reads the attribute value, stores it and returns it
"
"""
"""
device
.
value_dict
[
self
]
=
self
.
read_function
()
device
.
value_dict
[
self
]
=
self
.
read_function
()
return
device
.
value_dict
[
self
]
return
device
.
value_dict
[
self
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment