Skip to content

Commit

Permalink
max frag length set to zero to turn off use
Browse files Browse the repository at this point in the history
  • Loading branch information
kalahasty committed Feb 4, 2016
1 parent 51230ce commit e085394
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions taco/lib/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,10 @@ def parse():
(args.chrom_sizes_file))
args.chrom_sizes_file = os.path.abspath(args.chrom_sizes_file)

if args.min_frag_length <= 0:
parser.error("min_transcript_length <= 0")
if args.max_frag_length <= 0:
parser.error("max_frag_length <= 0")
if args.min_frag_length < 0:
parser.error("min_frag_length < 0")
if args.max_frag_length < 0:
parser.error("max_frag_length < 0")
if (args.frac_isoform <= 0) or (args.frac_isoform > 1):
parser.error("frac_isoform out of range (0.0-1.0)")
if (args.max_isoforms < 1):
Expand Down

0 comments on commit e085394

Please sign in to comment.