forked from rarias/bscpkgs
Allow a space before time tag
This matches the fortran format for creams
This commit is contained in:
parent
203dc9f295
commit
b5cadefca9
@ -19,7 +19,7 @@ stdenv.mkDerivation {
|
|||||||
cd ${inputResult}/$exp/$unit
|
cd ${inputResult}/$exp/$unit
|
||||||
conf=garlic_config.json
|
conf=garlic_config.json
|
||||||
for run in $(ls -d [0-9]* | sort -n); do
|
for run in $(ls -d [0-9]* | sort -n); do
|
||||||
time=$(awk '/^time /{print $2}' $run/stdout.log)
|
time=$(awk '/^ ?time /{print $2}' $run/stdout.log)
|
||||||
jq -cn "{ exp:\"$exp\", unit:\"$unit\", config:inputs, time:$time, run:$run }" $conf >> $out
|
jq -cn "{ exp:\"$exp\", unit:\"$unit\", config:inputs, time:$time, run:$run }" $conf >> $out
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user