Archived
1
0
forked from rarias/bscpkgs

fig: use the $out path in the subtitle

The input dataset is not enough to determine which script produced a
given plot.
This commit is contained in:
2021-04-21 13:40:25 +02:00
parent 5a49611bf6
commit 92cd88e365
28 changed files with 88 additions and 61 deletions

View File

@@ -147,7 +147,7 @@ in stdenv.mkDerivation {
dataset="${dataset}"
ln -s $dataset input
Rscript --vanilla ${script} ${dataset}
Rscript --vanilla ${script} ${dataset} "$out"
if [ "''${dataset##*.}" == gz ]; then
gunzip --stdout $dataset