Mercurial > repos > fubar > tool_factory_2
comparison toolfactory/rgToolFactory2.py @ 139:6b414af9ca11 draft
Uploaded
author | fubar |
---|---|
date | Sat, 17 Apr 2021 05:02:01 +0000 |
parents | 1dba6c7687a9 |
children | b36f12eb99dc |
comparison
equal
deleted
inserted
replaced
138:1dba6c7687a9 | 139:6b414af9ca11 |
---|---|
1056 else: | 1056 else: |
1057 tout = open(self.tlog, "w") | 1057 tout = open(self.tlog, "w") |
1058 cll = [ | 1058 cll = [ |
1059 "planemo", | 1059 "planemo", |
1060 "test", | 1060 "test", |
1061 "--galaxy_python_version", | |
1062 self.args.python_version, | |
1061 "--conda_auto_init", | 1063 "--conda_auto_init", |
1062 "--test_data", | 1064 "--test_data", |
1063 os.path.abspath(self.testdir), | 1065 os.path.abspath(self.testdir), |
1064 "--test_output", | 1066 "--test_output", |
1065 os.path.abspath(tool_test_path), | 1067 os.path.abspath(tool_test_path), |
1150 a("--galaxy_api_key", default="fakekey") | 1152 a("--galaxy_api_key", default="fakekey") |
1151 a("--galaxy_root", default="/galaxy-central") | 1153 a("--galaxy_root", default="/galaxy-central") |
1152 a("--galaxy_venv", default="/galaxy_venv") | 1154 a("--galaxy_venv", default="/galaxy_venv") |
1153 a("--collection", action="append", default=[]) | 1155 a("--collection", action="append", default=[]) |
1154 a("--include_tests", default=False, action="store_true") | 1156 a("--include_tests", default=False, action="store_true") |
1157 a("--python_version", default="3.9") | |
1155 args = parser.parse_args() | 1158 args = parser.parse_args() |
1156 assert not args.bad_user, ( | 1159 assert not args.bad_user, ( |
1157 'UNAUTHORISED: %s is NOT authorized to use this tool until Galaxy \ | 1160 'UNAUTHORISED: %s is NOT authorized to use this tool until Galaxy \ |
1158 admin adds %s to "admin_users" in the galaxy.yml Galaxy configuration file' | 1161 admin adds %s to "admin_users" in the galaxy.yml Galaxy configuration file' |
1159 % (args.bad_user, args.bad_user) | 1162 % (args.bad_user, args.bad_user) |