From 3a87b7851a78d72085ca33f5814464ef97be39b1 Mon Sep 17 00:00:00 2001 From: WardDeb Date: Mon, 6 Mar 2023 12:16:05 +0100 Subject: [PATCH] sometimes projects are omitted from a flow cell (budgetary regions). Escape Nonetypes in the mqc building. --- ChangeLog | 6 ++++++ src/dissectBCL/fakeNews.py | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index a7602dd..e49ad1c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,12 @@ CHANGES ======= +* escape nones in libtypes +* include non-ommitted empty samples in kraken for email +* flake fix/precommit version boost +* Finalize omit samples in email. Only display project exitstats of that specific lane +* flake fix/precommit version boost +* Finalize omit samples in email. Only display project exitstats of that specific lane * colliding samples that are removed from a demuxsheet cause issues in postmux stage. This commit escapes those * flake8 demux * simplify the substr check diff --git a/src/dissectBCL/fakeNews.py b/src/dissectBCL/fakeNews.py index 630150c..92e33ef 100644 --- a/src/dissectBCL/fakeNews.py +++ b/src/dissectBCL/fakeNews.py @@ -290,19 +290,19 @@ def multiQC_yaml(config, flowcell, ssDic, project, laneFolder): # config yaml # libraryTypes libTypes = ', '.join(list( - ssdf['Library_Type'].unique().fillna('None') + ssdf['Library_Type'].fillna('None').unique() )) # indexTypes ixTypes = ', '.join(list( - ssdf["indexType"].unique().fillna('None') + ssdf["indexType"].fillna('None').unique() )) # Protocols protTypes = ', '.join(list( - ssdf["Description"].unique().fillna('None') + ssdf["Description"].fillna('None').unique() )) # Organisms orgs = ', '.join(list( - ssdf["Organism"].unique().fillna('None') + ssdf["Organism"].fillna('None').unique() )) # Resequencing runs are screwed up (e.g. don't contain the samples) # switch total requested to NA