Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review 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
RadioObservatory
LOFAR
Commits
2b7ad2c8
Commit
2b7ad2c8
authored
5 years ago
by
Mattia Mancini
Browse files
Options
Downloads
Patches
Plain Diff
SW-798
: using right units for percentage
parent
74f97500
No related branches found
No related tags found
2 merge requests
!89
Monitoring maintenance Epic branch merge
,
!43
Monitoring maintenance test
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
LCU/Maintenance/DBInterface/monitoringdb/views/controllers.py
+2
-2
2 additions, 2 deletions
...Maintenance/DBInterface/monitoringdb/views/controllers.py
with
2 additions
and
2 deletions
LCU/Maintenance/DBInterface/monitoringdb/views/controllers.py
+
2
−
2
View file @
2b7ad2c8
...
...
@@ -948,7 +948,7 @@ class ControllerStationComponentErrors(ValidableReadOnlyView):
details
=
dict
(
url
=
url_to_plot
,
component_id
=
component_id
,
percentage
=
component_error
.
percentage
,
percentage
=
component_error
.
percentage
*
100.
,
n_samples
=
component_error
.
observation
.
samples
,
start_frequency
=
start_frequency
,
stop_frequency
=
end_frequency
,
...
...
@@ -1231,7 +1231,7 @@ class ControllerStationComponentElementErrors(ValidableReadOnlyView):
url_to_plot
=
reverse
(
'
rtsm-summary-plot-detail
'
,
(
item
[
'
pk
'
],),
request
=
self
.
request
)
errors
[
observation_pk
][
'
component_errors
'
][
error_type
][
polarization
]
=
dict
(
samples
=
samples
,
percentage
=
percentage
,
percentage
=
percentage
*
100.
,
count
=
count
,
mode
=
mode
,
rcu
=
rcu
,
...
...
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