diff --git a/src/cgr_gwas_qc/reporting/sample_qc.py b/src/cgr_gwas_qc/reporting/sample_qc.py index f3fcff27..a777a2cb 100644 --- a/src/cgr_gwas_qc/reporting/sample_qc.py +++ b/src/cgr_gwas_qc/reporting/sample_qc.py @@ -217,7 +217,6 @@ def _build_table(sample_qc: pd.DataFrame) -> str: # Issue 281: Ensure 'Other' ancestry output from graf-pop captured in table 3 # Add 'Other' to the categories and full blanks with "Other" - sample_qc["Ancestry"] = sample_qc["Ancestry"].cat.add_categories(["Other"]) sample_qc["Ancestry"] = sample_qc["Ancestry"].fillna("Other") return (