Skip to content

Commit

Permalink
fix: more meaningful info for patient overview table (#609)
Browse files Browse the repository at this point in the history
* more meaningful info

* fmt

---------

Co-authored-by: vBassewitz <[email protected]>
  • Loading branch information
alethomas and vBassewitz authored Nov 22, 2023
1 parent b232c00 commit 77f7960
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions workflow/scripts/generate-overview-table.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def is_patient_report():
# add kraken estimates
species_columns = pd.DataFrame()
for sample, file in iter_with_samples(snakemake.input.kraken):

kraken_results = pd.read_csv(
file,
delimiter="\t",
Expand Down Expand Up @@ -133,7 +132,7 @@ def register_contig_lengths(assemblies, name):
elif "consensus" == used:
data.loc[sample, "Best Quality"] = "Consensus"
elif "not-accepted" == used:
data.loc[sample, "Best Quality"] = "-"
data.loc[sample, "Best Quality"] = "not accepted by QA"

# add pangolin results
for sample, file in iter_with_samples(snakemake.input.pangolin):
Expand Down

0 comments on commit 77f7960

Please sign in to comment.