# HG changeset patch
# User devteam
# Date 1576606412 18000
# Node ID e626b3ff9922e8b18c60ab199d0d61c0b3cc8e40
# Parent 2fd6033d0e9c5e5c7a0f2fd9bc85cd332afcef40
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_filter_by_length commit 66d6c3cbb835114dc80e61216756e90da156f6d6"
diff -r 2fd6033d0e9c -r e626b3ff9922 fasta_filter_by_length.py
--- a/fasta_filter_by_length.py Thu Jul 20 13:49:07 2017 -0400
+++ b/fasta_filter_by_length.py Tue Dec 17 13:13:32 2019 -0500
@@ -38,7 +38,7 @@
tmp_buf = line
tmp_size = 0
else:
- if max_length == 0 or tmp_size < max_length:
+ if max_length == 0 or tmp_size <= max_length:
tmp_size += len(line.rstrip('\r\n'))
tmp_buf += line
# final flush of buffer
diff -r 2fd6033d0e9c -r e626b3ff9922 fasta_filter_by_length.xml
--- a/fasta_filter_by_length.xml Thu Jul 20 13:49:07 2017 -0400
+++ b/fasta_filter_by_length.xml Tue Dec 17 13:13:32 2019 -0500
@@ -22,6 +22,12 @@
+
+
+
+
+
+
diff -r 2fd6033d0e9c -r e626b3ff9922 test-data/fasta_tool_filter_length_2.out
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/fasta_tool_filter_length_2.out Tue Dec 17 13:13:32 2019 -0500
@@ -0,0 +1,2 @@
+>EYKX4VC01B65GS length=54 xy=0784_1754 region=1 run=R_2007_11_07_16_15_57_
+CCGGTATCCGGGTGCCGTGATGAGCGCCACCGGAACGAATTCGACTATGCCGAA