We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c2fb4c commit 87bd95dCopy full SHA for 87bd95d
workflows/p3b1_mlrMBO/scripts/get-time.sh
@@ -0,0 +1,12 @@
1
+#!/bin/zsh
2
+set -eu
3
+
4
+# GET TIME
5
+# Extract startup time info from Python log output
6
7
+FILE=$1
8
9
+START=$( grep "WORKFLOW START" ${FILE} | zclm 3 )
10
+STOP=$( grep "DO_N_FOLD START" ${FILE} | tail -1 | zclm 7 )
11
12
+print $(( STOP - START ))
0 commit comments