Skip to content

Commit 24a29be

Browse files
authored
Merge pull request #83 from jts/add_scorpio
fixed column error from scorpio_call addition
2 parents 003bc89 + e15a74f commit 24a29be

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

workflow/scripts/generate_report.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ def write_summary_qc_section():
277277

278278
tf.column_filter = [ "run_name", "mean_sequencing_depth",
279279
"median_sequencing_depth", "num_consensus_n",
280-
"num_weeks", "scaled_variants_snvs", "lineage", "lineage_notes", "watch_mutations" ]
280+
"num_weeks", "scaled_variants_snvs", "lineage",
281+
"lineage_notes", "scorpio_call", "watch_mutations" ]
281282
tf.table_spec = "{|c|C{1.3cm}|C{1.3cm}|C{1.0cm}|C{1.0cm}|C{1.0cm}|c|c|C{1.2cm}|C{4.0cm}|}"
282283
tsv_to_table(args.summary_qc_table.format(run_name=args.run_name), tf)
283284

@@ -313,6 +314,7 @@ def write_flagged_sample_section():
313314
tf.name_map = { "sample" : "Sample",
314315
"lineage" : "Lineage",
315316
"lineage_notes" : "Pangolin Notes",
317+
"scorpio_call" : "Scorpio Call",
316318
"genome_completeness" : "Percent Complete",
317319
"watch_mutations" : "Notable Mutations" }
318320

@@ -337,7 +339,7 @@ def write_flagged_sample_section():
337339
"num_weeks",
338340
"scaled_variants_snvs",
339341
"qc_pass" ]
340-
tf.table_spec = "{|c|C{1.5cm}|c|c|C{5cm}|}"
342+
tf.table_spec = "{|c|C{1.5cm}|c|C{1.5cm}|c|C{5cm}|}"
341343
tf.row_sort_key = get_lineage
342344
tsv_to_table(args.summary_qc_table.format(run_name=args.run_name), tf)
343345

0 commit comments

Comments
 (0)