Mercurial > repos > fubar > tool_factory_2
comparison toolfactory/rgToolFactory2.py @ 91:7176af503cdd draft
Uploaded
author | fubar |
---|---|
date | Thu, 19 Nov 2020 23:38:29 +0000 |
parents | dbbb9298a20f |
children | 6d122fd54cd0 |
comparison
equal
deleted
inserted
replaced
90:4663732f341e | 91:7176af503cdd |
---|---|
896 else: | 896 else: |
897 tout = open(self.tlog, "w") | 897 tout = open(self.tlog, "w") |
898 if genoutputs: | 898 if genoutputs: |
899 dummy, tfile = tempfile.mkstemp() | 899 dummy, tfile = tempfile.mkstemp() |
900 cll = [ | 900 cll = [ |
901 ".","/home/biodocker/galaxy-central/.venv/bin/activate", "&&", | |
902 "planemo", | 901 "planemo", |
903 "test", | 902 "test", |
904 "--test_data", os.path.abspath(self.testdir), | 903 "--test_data", os.path.abspath(self.testdir), |
905 "--test_output", os.path.abspath(tool_test_path), | 904 "--test_output", os.path.abspath(tool_test_path), |
906 "--skip_venv", | 905 "--skip_venv", |
907 "--galaxy_root", | 906 "--galaxy_root", |
908 "/home/biodocker/galaxy-central", | 907 self.args.galaxy_root, |
909 "--update_test_data", | 908 "--update_test_data", |
910 os.path.abspath(xreal), | 909 os.path.abspath(xreal), |
911 ] | 910 ] |
912 p = subprocess.run( | 911 p = subprocess.run( |
913 cll, | 912 cll, |
917 stdout=dummy, | 916 stdout=dummy, |
918 ) | 917 ) |
919 | 918 |
920 else: | 919 else: |
921 cll = [ | 920 cll = [ |
922 ".","/home/biodocker/galaxy-central/.venv/bin/activate","&&", | |
923 "planemo", | 921 "planemo", |
924 "test", | 922 "test", |
925 "--test_data", os.path.abspath(self.testdir), | 923 "--test_data", os.path.abspath(self.testdir), |
926 "--test_output", os.path.abspath(tool_test_path), | 924 "--test_output", os.path.abspath(tool_test_path), |
927 "--skip_venv", | 925 "--skip_venv", |
928 "--galaxy_root", | 926 "--galaxy_root", |
929 "/home/biodocker/galaxy-central", | 927 self.args.galaxy_root, |
930 os.path.abspath(xreal), | 928 os.path.abspath(xreal), |
931 ] | 929 ] |
932 p = subprocess.run( | 930 p = subprocess.run( |
933 cll, shell=False, cwd=self.tooloutdir, stderr=tout, stdout=tout | 931 cll, shell=False, cwd=self.tooloutdir, stderr=tout, stdout=tout |
934 ) | 932 ) |