Skip to content

Commit

Permalink
Merge pull request #570 from dkuegler/fix/run-time-counter
Browse files Browse the repository at this point in the history
Fix the run time calculation (rounded to integer hours in log file)
  • Loading branch information
dkuegler authored Sep 3, 2024
2 parents 9022bf8 + ba0deab commit 8cdcbb9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions recon_surf/recon-surf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1077,8 +1077,7 @@ fi
# Collect info
EndTime=$(date)
tSecEnd=$(date '+%s')
tRunHours=$(($((tSecEnd - tSecStart))/3600))
tRunHours=$(printf %6.3f "$tRunHours")
tRunHours=$(printf %6.3f "$(bc <<< "($tSecEnd - $tSecStart) / 3600")")

{
echo ""
Expand Down

0 comments on commit 8cdcbb9

Please sign in to comment.