# HG changeset patch # User bgruening # Date 1767789858 0 # Node ID d5c640895ed698238c9e82718ffca984e4052f43 # Parent 7521d865e7700c7c16f199d5e53996ebc60227c5 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/splitfasta commit ff5396c8e44a191f6e5eb7eb526f75ae631ec67f diff -r 7521d865e770 -r d5c640895ed6 splitFasta.xml --- a/splitFasta.xml Tue Jan 14 21:52:36 2025 +0000 +++ b/splitFasta.xml Wed Jan 07 12:44:18 2026 +0000 @@ -1,4 +1,4 @@ - + files into a collection biopython @@ -42,7 +42,7 @@ - + diff -r 7521d865e770 -r d5c640895ed6 split_fasta.py --- a/split_fasta.py Tue Jan 14 21:52:36 2025 +0000 +++ b/split_fasta.py Wed Jan 07 12:44:18 2026 +0000 @@ -32,8 +32,7 @@ if num_chunks != 0: records_per_chunk = round(float(record_count) / num_chunks) - -if record_limit and record_count > record_limit: +elif record_limit and record_count > record_limit: exit(f"ERROR: Number of sequences {record_count} exceeds limit {record_limit}") count = 1