Mercurial > repos > fubar > tool_factory_2
comparison toolfactory/rgToolFactory2.py @ 87:dbbb9298a20f draft
Uploaded
author | fubar |
---|---|
date | Thu, 19 Nov 2020 06:58:17 +0000 |
parents | 5304cda01f60 |
children | 7176af503cdd |
comparison
equal
deleted
inserted
replaced
86:5d74a718b92d | 87:dbbb9298a20f |
---|---|
903 "test", | 903 "test", |
904 "--test_data", os.path.abspath(self.testdir), | 904 "--test_data", os.path.abspath(self.testdir), |
905 "--test_output", os.path.abspath(tool_test_path), | 905 "--test_output", os.path.abspath(tool_test_path), |
906 "--skip_venv", | 906 "--skip_venv", |
907 "--galaxy_root", | 907 "--galaxy_root", |
908 self.args.galaxy_root, | 908 "/home/biodocker/galaxy-central", |
909 "--update_test_data", | 909 "--update_test_data", |
910 os.path.abspath(xreal), | 910 os.path.abspath(xreal), |
911 ] | 911 ] |
912 p = subprocess.run( | 912 p = subprocess.run( |
913 cll, | 913 cll, |
924 "test", | 924 "test", |
925 "--test_data", os.path.abspath(self.testdir), | 925 "--test_data", os.path.abspath(self.testdir), |
926 "--test_output", os.path.abspath(tool_test_path), | 926 "--test_output", os.path.abspath(tool_test_path), |
927 "--skip_venv", | 927 "--skip_venv", |
928 "--galaxy_root", | 928 "--galaxy_root", |
929 self.args.galaxy_root, | 929 "/home/biodocker/galaxy-central", |
930 os.path.abspath(xreal), | 930 os.path.abspath(xreal), |
931 ] | 931 ] |
932 p = subprocess.run( | 932 p = subprocess.run( |
933 cll, shell=False, cwd=self.tooloutdir, stderr=tout, stdout=tout | 933 cll, shell=False, cwd=self.tooloutdir, stderr=tout, stdout=tout |
934 ) | 934 ) |
963 if genoutputs: | 963 if genoutputs: |
964 dummy, tfile = tempfile.mkstemp() | 964 dummy, tfile = tempfile.mkstemp() |
965 cll = [ | 965 cll = [ |
966 "planemo", | 966 "planemo", |
967 "test", | 967 "test", |
968 "--conda_dependency_resolution", | |
969 "--test_data", os.path.abspath(self.testdir), | 968 "--test_data", os.path.abspath(self.testdir), |
970 "--test_output", os.path.abspath(tool_test_path), | 969 "--test_output", os.path.abspath(tool_test_path), |
971 "--skip_venv", | 970 "--skip_venv", |
972 "--galaxy_root", | 971 "--galaxy_root", |
973 self.args.galaxy_root, | 972 self.args.galaxy_root, |
984 | 983 |
985 else: | 984 else: |
986 cll = [ | 985 cll = [ |
987 "planemo", | 986 "planemo", |
988 "test", | 987 "test", |
989 "--conda_dependency_resolution", | |
990 "--test_data", os.path.abspath(self.testdir), | 988 "--test_data", os.path.abspath(self.testdir), |
991 "--test_output", os.path.abspath(tool_test_path), | 989 "--test_output", os.path.abspath(tool_test_path), |
992 "--skip_venv", | 990 "--skip_venv", |
993 "--galaxy_root", | 991 "--galaxy_root", |
994 self.args.galaxy_root, | 992 self.args.galaxy_root, |