Skip to content

Commit

Permalink
fix: be sure data_table.dat is sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Oct 25, 2023
1 parent ce5403b commit 8b39192
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion qa-physics/datasetOrganize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,9 @@ for file in $(find $inputDir -name "monitor_*.hipo"); do
ln -sv $file $OUTMON_DIR/
done
for file in $(find $inputDir -name "data_table_*.dat"); do
cat $file >> $OUTDAT_DIR/data_table.dat
cat $file >> $OUTDAT_DIR/data_table.dat.tmp
done

# be sure the data table is sorted
sort -n -o $OUTDAT_DIR/data_table.dat{,.tmp}
rm $OUTDAT_DIR/data_table.dat.tmp

0 comments on commit 8b39192

Please sign in to comment.