Mercurial > repos > fubar > tool_factory_2
comparison toolfactory/rgToolFactory2.py @ 1:c6d97af72f7c draft
Uploaded
| author | fubar | 
|---|---|
| date | Sun, 18 Apr 2021 03:29:51 +0000 | 
| parents | d992dd1f0c15 | 
| children | 
   comparison
  equal
  deleted
  inserted
  replaced
| 0:d992dd1f0c15 | 1:c6d97af72f7c | 
|---|---|
| 1040 def planemo_test_once(self): | 1040 def planemo_test_once(self): | 
| 1041 """planemo is a requirement so is available for testing but needs a | 1041 """planemo is a requirement so is available for testing but needs a | 
| 1042 different call if in the biocontainer - see above | 1042 different call if in the biocontainer - see above | 
| 1043 and for generating test outputs if command or test overrides are | 1043 and for generating test outputs if command or test overrides are | 
| 1044 supplied test outputs are sent to repdir for display | 1044 supplied test outputs are sent to repdir for display | 
| 1045 # "--galaxy_python_version", | |
| 1046 # self.args.python_version, | |
| 1047 | |
| 1045 """ | 1048 """ | 
| 1046 xreal = "%s.xml" % self.tool_name | 1049 xreal = "%s.xml" % self.tool_name | 
| 1047 tool_test_path = os.path.join( | 1050 tool_test_path = os.path.join( | 
| 1048 self.repdir, f"{self.tool_name}_planemo_test_report.html" | 1051 self.repdir, f"{self.tool_name}_planemo_test_report.html" | 
| 1049 ) | 1052 ) | 
| 1052 else: | 1055 else: | 
| 1053 tout = open(self.tlog, "w") | 1056 tout = open(self.tlog, "w") | 
| 1054 cll = [ | 1057 cll = [ | 
| 1055 "planemo", | 1058 "planemo", | 
| 1056 "test", | 1059 "test", | 
| 1057 "--galaxy_python_version", | |
| 1058 self.args.python_version, | |
| 1059 "--test_data", | 1060 "--test_data", | 
| 1060 os.path.abspath(self.testdir), | 1061 os.path.abspath(self.testdir), | 
| 1061 "--test_output", | 1062 "--test_output", | 
| 1062 os.path.abspath(tool_test_path), | 1063 os.path.abspath(tool_test_path), | 
| 1063 "--galaxy_root", | 1064 "--galaxy_root", | 
