Skip to content

Commit 036b9d7

Browse files
Update malariagen_data/anoph/sample_metadata.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0d8b3b2 commit 036b9d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

malariagen_data/anoph/sample_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1873,7 +1873,7 @@ def _locate_cohorts(*, cohorts, data, min_cohort_size):
18731873
else:
18741874
if not isinstance(cohorts, str):
18751875
raise TypeError(
1876-
f"Expected cohorts to be dict or str, "
1876+
f"Expected cohorts to be Mapping or str, "
18771877
f"got {type(cohorts).__name__}: {cohorts!r}"
18781878
)
18791879
# User has supplied the name of a sample metadata column.

0 commit comments

Comments
 (0)