Skip to content

Commit

Permalink
Parkourtest (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
adRn-s authored Dec 10, 2024
2 parents 389bae2 + a803bc3 commit 6cbbe80
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Clone this repository, create the environment and pip install

> git clone git@github.com:maxplanck-ie/dissectBCL.git
> cd dissectBCL
> conda create -f env.yml --name dissectBCL
> conda env create -f env.yml --name dissectBCL
> conda activate dissectBCL
> pip install ./
Expand Down
4 changes: 2 additions & 2 deletions src/dissectBCL/fakeNews.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def gatherFinalMetrics(outLane, flowcell):
# hence the try / except.
# 'mouse (GRCm39)' -> 'mouse'
parkourOrg = str( # To string since NA is a float
ssdf[ssdf["Sample_ID"] == sampleID]['Organism'].values[0]
ssdf[ssdf["Sample_ID"] == sampleID]['Organism'].values[0][0]
).split(' ')[0]
try:
screenDF = pd.read_csv(
Expand Down Expand Up @@ -478,4 +478,4 @@ def gatherFinalMetrics(outLane, flowcell):
'transferTime': flowcell.transferTime,
'exitStats': flowcell.exitStats,
'P5RC':ssDic['P5RC']
}
}
4 changes: 2 additions & 2 deletions src/dissectBCL/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ def multiQC_yaml(flowcell, project, laneFolder):
))
# Organisms
orgs = ', '.join(list(
ssdf["Organism"].fillna('None').unique()
ssdf["Organism"].str[0].fillna('None').unique()
))
# Resequencing runs are screwed up (e.g. don't contain the samples)
# switch total requested to NA
Expand Down Expand Up @@ -663,4 +663,4 @@ def matchOptdupsReqs(optDups, ssdf):
int(got)
]
)
return (sorted(_optDups, key=lambda x: x[1]))
return (sorted(_optDups, key=lambda x: x[1]))

0 comments on commit 6cbbe80

Please sign in to comment.