Skip to content

Commit

Permalink
fix: make exclude list optional
Browse files Browse the repository at this point in the history
  • Loading branch information
boasvdp committed Jul 26, 2024
1 parent 2edb747 commit 868c4e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion workflow/scripts/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 868c4e8

Please sign in to comment.