Mercurial > repos > fubar > tool_factory_2
diff toolfactory/rgToolFactory2.py @ 122:c763ae9237ca draft
Uploaded
author | fubar |
---|---|
date | Thu, 07 Jan 2021 23:25:48 +0000 |
parents | 2050b2475ae5 |
children | f267ed4a3026 |
line wrap: on
line diff
--- a/toolfactory/rgToolFactory2.py Thu Jan 07 09:24:17 2021 +0000 +++ b/toolfactory/rgToolFactory2.py Thu Jan 07 23:25:48 2021 +0000 @@ -310,8 +310,8 @@ icl = infp[ICLPOS] infp.append(icl) if ( - infp[ICLPOS].isdigit() \ - or self.args.parampass == "0" \ + infp[ICLPOS].isdigit() + or self.args.parampass == "0" or infp[ICLPOS].strip().upper() == "STDOUT" ): scl = "input%d" % (i + 1) @@ -587,8 +587,8 @@ scr.insert(0, "\n\nScript::\n") if len(scr) > 300: scr = ( - scr[:100] \ - + [" >300 lines - stuff deleted", " ......"] \ + scr[:100] + + [" >300 lines - stuff deleted", " ......"] + scr[-100:] ) scr.append("\n") @@ -882,8 +882,8 @@ with os.scandir(self.testdir) as outs: for entry in outs: if ( - (not entry.is_file()) \ - or entry.name.endswith("_sample") \ + (not entry.is_file()) + or entry.name.endswith("_sample") or entry.name.endswith("_planemo_test_report.html") ): continue