Skip to content

Commit 5c0bad3

Browse files
authored
Merge branch 'master' into fix/frq-base-lstrip-and-timeseries-bugs
2 parents 186b2a2 + ebc2691 commit 5c0bad3

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)