Skip to content

Commit cfee87b

Browse files
authored
Update sort.py
set a default minimum length for contigs in the argument part as well as the function defaults to minlen=0
1 parent e4d3833 commit cfee87b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

funannotate/sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def __init__(self, prog):
6969
help="Try to simplify headers, split at first space",
7070
)
7171
parser.add_argument(
72-
"-m", "--minlen", type=int, help="Contigs shorter than threshold are discarded"
72+
"-m", "--minlen", type=int, default=0, help="Contigs shorter than threshold are discarded"
7373
)
7474
args = parser.parse_args(args)
7575

0 commit comments

Comments
 (0)