Skip to content

Commit 95faa1b

Browse files
committed
rawTF2raw: fix typo in rawTF2raw converter script
1 parent fd04750 commit 95faa1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

UTILS/rawTF2raw/generate_rawtf_indices.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ print_help() {
2424
- param1: rawtf input file list
2525
- param2: output directory
2626
- param3: number of TFs to process
27-
- param4: tfCounter id of first TF to process
27+
- param4: tfCounter id of first TF to process
2828
- param5: number of Blocks to be expected per TF to select only TFs with all inputs / detectors present
2929
- if number of inputs is irrelevant, it can be set to 0 to be ignored
30-
30+
3131
Example usage:
3232
3333
source $O2DPG_ROOT/UTILS/rawTF2raw/generate_rawtf_indices.sh rawtflist_LHC25ab_563041.txt 2025-05-19-pp-750khz-replay-LHC25ab-563041 125 3500 14
@@ -81,7 +81,7 @@ sort_tfs() {
8181
fi
8282
firstTFtmp=${firstTF}
8383
while true; do
84-
firstLine=$(grep -nr tfCounter:${firstTFtmp} ${tfs_sorted} | awk -F ':' '{print $1}')
84+
firstLine=$(grep -nr "tfCounter:${firstTFtmp} " ${tfs_sorted} | awk -F ':' '{print $1}')
8585
[[ ! -z ${firstLine} ]] && break
8686
firstTFtmp=$((firstTFtmp+1))
8787
done

0 commit comments

Comments
 (0)