# HG changeset patch # User peterjc # Date 1486144194 18000 # Node ID a3d660e900b1b0f3c3264621276c958c3803bda9 # Parent 69ab4d862db2287735f286a8dbf6271ce963c980 planemo upload for repository https://github.com/peterjc/pico_galaxy/tree/master/tools/effectiveT3 commit 7a746d55f0e8456992ee11c49a507285f9f39383-dirty diff -r 69ab4d862db2 -r a3d660e900b1 tools/effectiveT3/effectiveT3.py --- a/tools/effectiveT3/effectiveT3.py Wed Feb 01 09:20:27 2017 -0500 +++ b/tools/effectiveT3/effectiveT3.py Fri Feb 03 12:49:54 2017 -0500 @@ -32,8 +32,7 @@ if not os.path.isfile(fasta_file): sys.exit("Input FASTA file not found: %s" % fasta_file) -if threshold not in ["selective", "sensitive"] \ - and not threshold.startswith("cutoff="): +if threshold not in ["selective", "sensitive"] and not threshold.startswith("cutoff="): sys.exit("Threshold should be selective, sensitive, or cutoff=..., not %r" % threshold) @@ -43,8 +42,7 @@ positive = 0 errors = 0 for line in raw_handle: - if not line or line.startswith("#") \ - or line.startswith("Id; Description; Score;"): + if not line or line.startswith("#") or line.startswith("Id; Description; Score;"): continue assert line.count(";") >= 3, repr(line) # Normally there will just be three semi-colons, however the