diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/mosdepth-plot.nix | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/tools/mosdepth-plot.nix b/tools/mosdepth-plot.nix index de8e2d7..8eae28f 100644 --- a/tools/mosdepth-plot.nix +++ b/tools/mosdepth-plot.nix @@ -1,4 +1,5 @@  { bionix +, what ? "global"  , flags ? null  }: @@ -12,8 +13,8 @@ stage {    name = "mosdepth-depth";    buildInputs = with pkgs; [ python ];    buildCommand = '' -    python ${pkgs.mosdepth.src}/scripts/plot-dist.py ${concatMapStringsSep " " (i: "${i}/out.mosdepth.global.dist.txt") inputs} -    ${concatStringsSep "\n" (zipListsWith (i: n: "substituteInPlace dist.html --replace ${i}/out ${n}") inputs names)} +    python ${pkgs.mosdepth.src}/scripts/plot-dist.py ${concatMapStringsSep " " (i: "${i}/out.mosdepth.${what}.dist.txt") inputs} +    ${concatStringsSep "\n" (zipListsWith (i: n: "substituteInPlace dist.html --replace ${i}/out.mosdepth.${what}.dist.txt ${n}") inputs names)}      substituteInPlace dist.html --replace "x: 0.1" "x: 0.9"      substituteInPlace dist.html --replace "y: 0.1" "y: 0.9"      mv dist.html $out | 
