From 5fe9c91537a1ad532572af1173dfe2a10177fd48 Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Mon, 30 Nov 2020 13:49:09 +0000 Subject: [PATCH 1/4] Cast ``ncores`` to str for ``subprocess.call()`` Fix https://github.com/galaxyproject/galaxy/issues/10824 . --- lib/galaxy/objectstore/s3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/objectstore/s3.py b/lib/galaxy/objectstore/s3.py index 327988be7be..1a4f4c3d36a 100644 --- a/lib/galaxy/objectstore/s3.py +++ b/lib/galaxy/objectstore/s3.py @@ -437,7 +437,7 @@ class S3ObjectStore(ObjectStore, CloudConfigMixin): log.debug("Parallel pulled key '%s' into cache to %s", rel_path, self._get_cache_path(rel_path)) ncores = multiprocessing.cpu_count() url = key.generate_url(7200) - ret_code = subprocess.call(['axel', '-a', '-n', ncores, url]) + ret_code = subprocess.call(['axel', '-a', '-n', str(ncores), url]) if ret_code == 0: return True else: From 018c3a7da99e264b6d68a380998e03da4ee39269 Mon Sep 17 00:00:00 2001 From: Oleg Zharkov Date: Mon, 2 Nov 2020 20:38:05 +0100 Subject: [PATCH 2/4] implement auto-import --- client/src/components/Workflow/TrsImport.vue | 62 +++++++++++++------ .../components/Workflow/WorkflowImport.vue | 5 +- client/src/components/Workflow/trsMixin.js | 6 +- client/src/components/Workflow/utils.js | 5 ++ client/src/entry/analysis/AnalysisRouter.js | 4 ++ lib/galaxy/webapps/galaxy/api/workflows.py | 15 +++-- 6 files changed, 69 insertions(+), 28 deletions(-) create mode 100644 client/src/components/Workflow/utils.js diff --git a/client/src/components/Workflow/TrsImport.vue b/client/src/components/Workflow/TrsImport.vue index 851b5dbe22b..6dc656ef4dd 100644 --- a/client/src/components/Workflow/TrsImport.vue +++ b/client/src/components/Workflow/TrsImport.vue @@ -1,22 +1,29 @@