rbbt-util 5.26.115 → 5.26.116

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rbbt/hpc.rb +4 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 269803d5c33cd85715510ae4688390ecac0ba1108a05a56f547819cc5336bac2
4
- data.tar.gz: 317ce8062c27d862f864d8bef75aafa466e67a80b73aca5562d1350eaa2987a5
3
+ metadata.gz: 3e3981775c0531bd71ddb841401d78b7e84f83c44579347b8da42bb71f9c3a67
4
+ data.tar.gz: 791d1a58540888c2a9a338d706f1188cc684a6b2bc50dce8fc4c38169de898f0
5
5
  SHA512:
6
- metadata.gz: 711d64005b450ab3bf4ce0bbfa5148d916421292a00dd89ac48b59d038060fa61a5b42033d728b87585f25738b5ea97fa7675e895ab2d80f563ec392485c8ff0
7
- data.tar.gz: 87df2756c51f364c7a165501fa2e793c482edf729cd09671349f6a80c933d27cc430a81161fb3686be465b822218d966dc222e73dfa150347aa89d273db4b16c
6
+ metadata.gz: 44efa5d106893dee737ef79c17c0a655ff1fa63e924045d433fcc769f73fe5470bef22de23d50561559c97361716329429dbb26b8dce366c5cc875fa1dcc67fa
7
+ data.tar.gz: 7350980369fd646a5e9992d4683a15c7c944627f4aa5f5753b3691c21783fac6bcf76bf9021cc13192a92a0afeea0b06a7259917563e8fdb7df10411c0279d66
@@ -304,18 +304,18 @@ EOF
304
304
  if contain && (wipe_container == "post" || wipe_container == "both")
305
305
  prep =<<-EOF + prep
306
306
  if ls -A '#{contain}' &> /dev/null ; then
307
- echo "ERROR: Container directory not empty, refusing to wipe. #{contain}"
307
+ echo "ERROR: Container directory not empty, refusing to wipe. #{contain}" &>> #{fsync}
308
308
  fi
309
309
  EOF
310
310
  if singularity
311
311
  coda +=<<-EOF
312
- singularity exec -e -C -H "$CONTAINER_DIR" "$SINGULARITY_IMG" rbbt system clean -f &>> #{fsync}
313
312
  singularity exec -e -C -H "$CONTAINER_DIR" "$SINGULARITY_IMG" rm -v /dev/shm/sem.*.{in,out,process} /dev/shm/sem.Session-PID.*.sem 2> /dev/null >> #{fsync}
314
313
  if [ $exit_status == '0' -a $sync_es == '0' ]; then
314
+ singularity exec -e -C -H "$CONTAINER_DIR" "$SINGULARITY_IMG" rbbt system clean -f &>> #{fsync}
315
315
  singularity exec -e -C -H "$CONTAINER_DIR" "$SINGULARITY_IMG" rm -Rfv .rbbt/var/jobs &>> #{fsync}
316
316
  singularity exec -e -C -H "$CONTAINER_DIR" "$SINGULARITY_IMG" rm -Rfv tmp/ &>> #{fsync}
317
317
  else
318
- echo "WARNING: Results could not sync correctly. Job directory not purged"
318
+ echo "ERROR: Process failed or results could not sync correctly. Contain directory not purged" &>> #{fsync}
319
319
  fi
320
320
  EOF
321
321
  else
@@ -324,7 +324,7 @@ EOF
324
324
  if [ $exit_status == '0' -a $sync_es == '0' ]; then
325
325
  rm -Rfv #{contain} &>> #{fsync}
326
326
  else
327
- echo "ERROR: Process failed or results could not sync correctly. Contain directory not purged"
327
+ echo "ERROR: Process failed or results could not sync correctly. Contain directory not purged" &>> #{fsync}
328
328
  fi
329
329
  unset sync_es
330
330
  EOF
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.26.115
4
+ version: 5.26.116
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez