Skip to content

Commit e02c9d3

Browse files
committed
"remade the changes to avoid overlapping with the previous commit"
1 parent bb81ca5 commit e02c9d3

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)