Skip to content

Commit 00656ed

Browse files
committed
Split comment for clarity per review feedback
1 parent b89e20b commit 00656ed

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

malariagen_data/anoph/frq_base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ def _prep_samples_for_cohort_grouping(
3030
if filter_unassigned is None:
3131
filter_unassigned = taxon_by == "taxon"
3232

33+
# Filter out samples with "intermediate" or "unassigned" taxon values
34+
# by setting them to None, so they are excluded from cohort grouping.
3335
if filter_unassigned:
3436
loc_intermediate_taxon = (
3537
df_samples[taxon_by].str.startswith("intermediate").fillna(False)

0 commit comments

Comments
 (0)