Skip to content
GitLab
Explore
Sign in
Register
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Commits
e3941898
Commit
e3941898
authored
1 year ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
Fix mixing of device class wrappers
parent
d004b257
No related branches found
No related tags found
1 merge request
!896
Fix mixing of device class wrappers
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+1
-0
1 addition, 0 deletions
README.md
tangostationcontrol/VERSION
+1
-1
1 addition, 1 deletion
tangostationcontrol/VERSION
tangostationcontrol/tangostationcontrol/devices/base_device_classes/power_hierarchy.py
+2
-5
2 additions, 5 deletions
...ioncontrol/devices/base_device_classes/power_hierarchy.py
with
4 additions
and
6 deletions
README.md
+
1
−
0
View file @
e3941898
...
@@ -166,6 +166,7 @@ Next change the version in the following places:
...
@@ -166,6 +166,7 @@ Next change the version in the following places:
# Release Notes
# Release Notes
*
0.32.3 Fixed disappeared metrics from LOFARDevice, OPCUADevice, StationManager.
*
0.32.2 Change hardware_powered_R to hardware_powered_fraction_R to report partial power.
*
0.32.2 Change hardware_powered_R to hardware_powered_fraction_R to report partial power.
Implemented hardware_powered_fraction_R for more devices.
Implemented hardware_powered_fraction_R for more devices.
*
0.32.1 Do not serve stale metrics
*
0.32.1 Do not serve stale metrics
...
...
This diff is collapsed.
Click to expand it.
tangostationcontrol/VERSION
+
1
−
1
View file @
e3941898
0.32.
2
0.32.
3
This diff is collapsed.
Click to expand it.
tangostationcontrol/tangostationcontrol/devices/base_device_classes/power_hierarchy.py
+
2
−
5
View file @
e3941898
...
@@ -41,7 +41,7 @@ def power_hierarchy(cls):
...
@@ -41,7 +41,7 @@ def power_hierarchy(cls):
return
type
(
return
type
(
cls
.
__name__
,
cls
.
__name__
,
(
cls
,),
(
cls
,)
+
cls
.
__bases__
,
dict
(
_PowerHierarchyDevice
.
__dict__
),
dict
(
_PowerHierarchyDevice
.
__dict__
),
)
)
...
@@ -270,9 +270,6 @@ class PowerHierarchyControlDevice(AbstractHierarchyDevice):
...
@@ -270,9 +270,6 @@ class PowerHierarchyControlDevice(AbstractHierarchyDevice):
def
power_hierarchy_control
(
cls
):
def
power_hierarchy_control
(
cls
):
return
type
(
return
type
(
cls
.
__name__
,
cls
.
__name__
,
(
(
cls
,)
+
cls
.
__bases__
+
PowerHierarchyControlDevice
.
__bases__
,
cls
,
AbstractHierarchyDevice
,
),
dict
(
PowerHierarchyControlDevice
.
__dict__
),
dict
(
PowerHierarchyControlDevice
.
__dict__
),
)
)
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