forked from rarias/jungle
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user