From dd53a7cb7998b1f7843cdd38573d4a7c89a49b5a Mon Sep 17 00:00:00 2001 From: adRn-s Date: Wed, 11 Dec 2024 17:13:35 +0100 Subject: [PATCH] it'd be a string already --- src/dissectBCL/fakeNews.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/dissectBCL/fakeNews.py b/src/dissectBCL/fakeNews.py index ee80fd7..59d871e 100644 --- a/src/dissectBCL/fakeNews.py +++ b/src/dissectBCL/fakeNews.py @@ -441,9 +441,7 @@ def gatherFinalMetrics(outLane, flowcell): # samples with 0 reads still make an empty report. # hence the try / except. - parkourOrg = str( - ssdf[ssdf["Sample_ID"] == sampleID]['Organism'].values[0][1] - ) + parkourOrg = ssdf[ssdf["Sample_ID"] == sampleID]['Organism'].values[0][1] try: screenDF = pd.read_csv( screen, sep='\t', header=None