diff --git a/malariagen_data/anoph/dipclust.py b/malariagen_data/anoph/dipclust.py index ac15eafd..1852066f 100644 --- a/malariagen_data/anoph/dipclust.py +++ b/malariagen_data/anoph/dipclust.py @@ -192,7 +192,7 @@ def plot_diplotype_clustering( else: return { "figure": fig, - "dendro_sample_id_order": leaf_data["sample_id"].to_list(), + "dendro_sample_id_order": np.asarray(leaf_data["sample_id"].to_list()), "n_snps": n_snps_used, }