Skip to content

Commit

Permalink
ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
chuan-wang committed Sep 24, 2024
1 parent ae9b8cf commit 44d00f6
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions scripts/manage_demux_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -851,11 +851,18 @@ def write_demuxfile_aviti(process_stats, demux_id):
"Project": row.get("Project", ""),
"Barcode sequence": index,
"PF Clusters": int(row.get("NumPoloniesAssigned", "0")),
"% of thelane": float(row.get("PercentPoloniesAssigned", "0")),
"% of thelane": float(
row.get("PercentPoloniesAssigned", "0")
),
"% >= Q30bases": float(row.get("PercentQ30", "0")),
"Mean QualityScore": float(row.get("QualityScoreMean", "0")),
"% Perfectbarcode": 100 - float(row.get("PercentMismatch", "0")),
"% One mismatchbarcode": float(row.get("PercentMismatch", "0")),
"Mean QualityScore": float(
row.get("QualityScoreMean", "0")
),
"% Perfectbarcode": 100
- float(row.get("PercentMismatch", "0")),
"% One mismatchbarcode": float(
row.get("PercentMismatch", "0")
),
"Yield (Mbases)": str(
float(row.get("Yield(Gb)", "0")) * 1000
),
Expand Down

0 comments on commit 44d00f6

Please sign in to comment.