From 868c4e85837de326e3f9ec798f3e038ec27c6e1a Mon Sep 17 00:00:00 2001 From: boasvdp Date: Fri, 26 Jul 2024 10:03:54 +0200 Subject: [PATCH] fix: make exclude list optional --- workflow/scripts/cluster.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/workflow/scripts/cluster.py b/workflow/scripts/cluster.py index f1bab3a..646f5dc 100644 --- a/workflow/scripts/cluster.py +++ b/workflow/scripts/cluster.py @@ -429,7 +429,8 @@ def main(args): args.distances, args.previous_clustering ) - df_distances = exclude_samples(df_distances, args.exclude_list) + if args.exclude_list: + df_distances = exclude_samples(df_distances, args.exclude_list) df_nodes = get_df_nodes(df_distances, df_previous_clustering)