Skip to content

Commit

Permalink
Since +addclust is not part of the main workflow, remove the short-ci…
Browse files Browse the repository at this point in the history
…rcuit if max_clusters is 0.
  • Loading branch information
matthewfallan committed Jan 14, 2024
1 parent 8e30c46 commit 6026002
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/seismicrna/cluster/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,6 @@ def run(input_path: tuple[str, ...], *,
max_procs: int,
parallel: bool) -> list[Path]:
""" Add more clusters to a dataset that was already clustered. """
if max_clusters == 0:
# Exit immediately if the maximum number of clusters is 0.
return list()
# Find the cluster report files.
report_files = path.find_files_chain(
input_path, load_cluster_dataset.report_path_seg_types
Expand Down

0 comments on commit 6026002

Please sign in to comment.