Skip to content

Commit

Permalink
fix category error
Browse files Browse the repository at this point in the history
  • Loading branch information
Caryn Willis committed Sep 27, 2024
1 parent 2467160 commit 537d1b9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cgr_gwas_qc/reporting/sample_qc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 537d1b9

Please sign in to comment.