From 077b80d2b2b00026fc9944a26c0183505f9060cf Mon Sep 17 00:00:00 2001 From: Thomas Battenfeld <46334240+thomasbtf@users.noreply.github.com> Date: Mon, 3 Jan 2022 14:18:15 +0100 Subject: [PATCH] fix: generate high quality report .csv file (#433) --- workflow/scripts/generate-high-quality-report.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/workflow/scripts/generate-high-quality-report.py b/workflow/scripts/generate-high-quality-report.py index afe721867..61bda50c0 100644 --- a/workflow/scripts/generate-high-quality-report.py +++ b/workflow/scripts/generate-high-quality-report.py @@ -57,7 +57,8 @@ ) # Only include samples with include flag - csv_table = csv_table[csv_table["include"] == "1"] + csv_table["include"] = csv_table["include"].astype(int) + csv_table = csv_table[csv_table["include"] == 1] csv_table.drop(columns=["include"], inplace=True) # Final touches