Skip to content

Commit 7aa8cee

Browse files
authored
Merge branch 'master' into GH856-AI-policy-document
2 parents 74a6c89 + ebc2691 commit 7aa8cee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

malariagen_data/anoph/frq_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@ def plot_frequencies_time_series(
385385

386386
# Build a long-form dataframe from the dataset.
387387
dfs = []
388-
for cohort_index, cohort in enumerate(df_cohorts.itertuples()):
389-
ds_cohort = ds.isel(cohorts=cohort_index)
388+
for cohort in df_cohorts.itertuples():
389+
ds_cohort = ds.isel(cohorts=cohort.Index)
390390
df = pd.DataFrame(
391391
{
392392
"taxon": cohort.taxon,

0 commit comments

Comments
 (0)