From 5a14ba2e80eda5e7a62aaed45d8ba2bdd50be77d Mon Sep 17 00:00:00 2001 From: Wouter De Coster Date: Thu, 17 Oct 2024 11:46:37 +0200 Subject: [PATCH] fix for barcoded stats as reported in #384 --- nanoplot/NanoPlot.py | 2 +- nanoplot/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nanoplot/NanoPlot.py b/nanoplot/NanoPlot.py index 634fadd..8fd95d6 100755 --- a/nanoplot/NanoPlot.py +++ b/nanoplot/NanoPlot.py @@ -126,7 +126,7 @@ def make_stats(datadf, settings, suffix, tsv_stats=True): logging.info("Calculated statistics") if settings["barcoded"]: barcodes = list(datadf["barcode"].unique()) - statsfile = settings["path"] + "NanoStats_barcoded.txt" + statsfile = settings["path"] + "NanoStats_barcoded" + suffix + ".txt" stats_df = nanomath.write_stats( datadfs=[datadf[datadf["barcode"] == b] for b in barcodes], outputfile=statsfile, diff --git a/nanoplot/version.py b/nanoplot/version.py index eb012bb..678afe9 100644 --- a/nanoplot/version.py +++ b/nanoplot/version.py @@ -1 +1 @@ -__version__ = "1.43.0" +__version__ = "1.43.1"