# HG changeset patch # User fubar # Date 1610061948 0 # Node ID c763ae9237ca78d395ace60bc0cc9f5e2d8eb6a3 # Parent 2050b2475ae51a7d171ba70f7647b10b9ccd4846 Uploaded diff -r 2050b2475ae5 -r c763ae9237ca toolfactory/rgToolFactory2.py --- 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