Skip to content

Commit

Permalink
potential fix, we need to test
Browse files Browse the repository at this point in the history
  • Loading branch information
adRn-s committed Dec 11, 2024
1 parent 6cbbe80 commit b26eb42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/dissectBCL/fakeNews.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,9 @@ def gatherFinalMetrics(outLane, flowcell):
# samples with 0 reads still make an empty report.
# hence the try / except.
# 'mouse (GRCm39)' -> 'mouse'
parkourOrg = str( # To string since NA is a float
ssdf[ssdf["Sample_ID"] == sampleID]['Organism'].values[0][0]
).split(' ')[0]
parkourOrg = str(
ssdf[ssdf["Sample_ID"] == sampleID]['Organism'].values[0][1]
)
try:
screenDF = pd.read_csv(
screen, sep='\t', header=None
Expand Down

0 comments on commit b26eb42

Please sign in to comment.