Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PRConfig
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
LHCb Data Packages
PRConfig
Commits
02419f95
Commit
02419f95
authored
1 year ago
by
Luke Grazette
Browse files
Options
Downloads
Patches
Plain Diff
Headline table and revert hack in combine_rate_output
parent
62b73be1
No related branches found
No related tags found
No related merge requests found
Pipeline
#6377120
failed
1 year ago
Stage: check
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
python/MooreTests/combine_rate_output.py
+3
-13
3 additions, 13 deletions
python/MooreTests/combine_rate_output.py
python/MooreTests/line-and-stream-rates.py
+6
-6
6 additions, 6 deletions
python/MooreTests/line-and-stream-rates.py
with
9 additions
and
19 deletions
python/MooreTests/combine_rate_output.py
+
3
−
13
View file @
02419f95
...
...
@@ -134,21 +134,11 @@ def make_rate_table_row_per_stream(stream_config, fname_helper, process):
"""
frames
=
[]
if
stream_config
==
"
streamless
"
:
file
=
fname_helper
.
tmp_rate_table_per_
line
_path
(
stream_config
,
stream_config
)
for
file
in
glob
.
glob
(
fname_helper
.
tmp_rate_table_per_
stream
_path
(
stream_config
,
"
*
"
)):
df
=
pd
.
read_csv
(
file
,
header
=
None
)
df
.
columns
=
_columns_per_line
(
process
).
keys
()
df
=
df
.
drop
(
'
Exclusive Retention(%)
'
,
axis
=
1
).
drop
(
'
Exclusive Rate (kHz)
'
,
axis
=
1
)
frames
.
append
(
df
)
else
:
for
file
in
glob
.
glob
(
fname_helper
.
tmp_rate_table_per_stream_path
(
stream_config
,
"
*
"
)):
df
=
pd
.
read_csv
(
file
,
header
=
None
)
frames
.
append
(
df
)
df
=
pd
.
concat
(
frames
)
df
.
columns
=
COLUMNS_PER_STREAM
...
...
This diff is collapsed.
Click to expand it.
python/MooreTests/line-and-stream-rates.py
+
6
−
6
View file @
02419f95
...
...
@@ -384,13 +384,13 @@ if __name__ == '__main__':
else
:
evts_all
,
rawbanks_all
,
dst_all
,
event_stats
,
exclusive
,
raw
,
dst
=
processing_events_per_line_and_stream
(
LHCbApp
().
EvtMax
,
lines
,
args
.
process
)
# Calculate key quantities per stream
rates_per_stream
(
evts_all
,
rawbanks_all
,
dst_all
,
args
.
stream
,
input_config
[
'
input_rate
'
],
fname_helper
.
tmp_rate_table_per_stream_path
(
args
.
stream_config
,
args
.
stream
))
# Calculate key quantities per stream
rates_per_stream
(
evts_all
,
rawbanks_all
,
dst_all
,
args
.
stream
,
input_config
[
'
input_rate
'
],
fname_helper
.
tmp_rate_table_per_stream_path
(
args
.
stream_config
,
args
.
stream
))
# Calculate key quantities per line
rates_per_line
(
event_stats
,
exclusive
,
raw
,
dst
,
input_config
[
'
input_rate
'
],
...
...
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