Skip to content

Reorganisation of scripts to improve efficiency + additional output

Ella Godiva Noomen requested to merge enoomen_output_changes into master
  1. Moore_hlt2_bandwidth.sh

Remove unnecessary line-and-stream-rates.py jobs (due to combining line and stream calculations), update command line call for line-and-stream-rates.py and remove unnecessary hl;t2-stream-config script (now written out directly from within options file, see: lhcb/Moore!2470 (merged))

  1. line-and-stream-rates.py

Now calculates both retention, rate, bandwidth for both streams and lines within same call. Despite more output, script is called fewer times.

  1. combine-hlt2-output.py

Change way file paths are found (now using glob.gob instead of hard-coded f-strings) when combining files to be more flexible.

Produces two additional html pages: rates split by working-group and rates split by production stream

Output now produced for HLT2:

  • Overall rate of streams
  • Overall rate of WGs
  • Rates of all lines in 1 table
  • Rates of all lines split by stream
  • Rates of all lines split by WG
  1. make_bandwidth_test_page.py

Two new direct links on bandwidth page:

  • Add new direct link for line and stream rates split by WG (called ‘line-rates-split-wg.html’)
  • Add new direct link for line and stream rates split by production stream (called ‘line-rates-split-production.html’)

Also now splits direct links at bottom of the page by HLT2/sprucing as some links are not relevant/used in sprucing and updates file names where needed

Additionally: minor change to bash script for sprucing test to keep it compatible with this MR

Edited by Ella Godiva Noomen

Merge request reports