Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LOFAR Station Client
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
LOFAR2.0
LOFAR Station Client
Commits
e45a492a
Commit
e45a492a
authored
1 year ago
by
Corné Lukken
Browse files
Options
Downloads
Plain Diff
Merge branch 'improve-interface-multistationobservation' into 'main'
L2SS-1458
: Create all_connected method for MultiStationObservation See merge request
!56
parents
efe06ab4
f2564b01
No related branches found
No related tags found
1 merge request
!56
L2SS-1458: Create all_connected method for MultiStationObservation
Pipeline
#54751
passed
1 year ago
Stage: image
Stage: lint
Stage: test
Stage: package
Stage: integration
Changes
3
Pipelines
13
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+1
-0
1 addition, 0 deletions
README.md
VERSION
+1
-1
1 addition, 1 deletion
VERSION
lofar_station_client/observation/multi_station_observation.py
+7
-0
7 additions, 0 deletions
...r_station_client/observation/multi_station_observation.py
with
9 additions
and
1 deletion
README.md
+
1
−
0
View file @
e45a492a
...
...
@@ -105,6 +105,7 @@ tox -e debug tests.requests.test_prometheus
```
## Releasenotes
-
0.15.0 - Add all_connected method to MultiStationObservation
-
0.14.8 - Optimizing hdf dictionary writing to cause less memory and IO overhead
-
0.14.7 - Refactor LazyDeviceProxy
-
0.14.6 - Removed deprecated StationSSTCollector
...
...
This diff is collapsed.
Click to expand it.
VERSION
+
1
−
1
View file @
e45a492a
0.1
4.8
0.1
5.0
This diff is collapsed.
Click to expand it.
lofar_station_client/observation/multi_station_observation.py
+
7
−
0
View file @
e45a492a
...
...
@@ -159,3 +159,10 @@ class MultiStationObservation:
Returns
"
{hostname}
"
: bool per station
"""
return
{
station
.
host
:
station
.
connected
for
station
in
self
.
_stations
}
@property
def
all_connected
(
self
)
->
bool
:
"""
Returns true if all stations are connected
"""
return
all
(
s
.
connected
for
s
in
self
.
is_connected
.
values
())
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