mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Include .xml in job_config_file
This commit is contained in:
@@ -67,7 +67,7 @@ def cli_job_config(remote_connection, shell_plugin='ParamikoShell', job_plugin='
|
||||
job_conf_str = job_conf_template.substitute(shell_plugin=shell_plugin,
|
||||
job_plugin=job_plugin,
|
||||
**remote_connection._asdict())
|
||||
with tempfile.NamedTemporaryFile(suffix="_slurm_integration_job_conf", mode="w", delete=False) as job_conf:
|
||||
with tempfile.NamedTemporaryFile(suffix="_slurm_integration_job_conf.xml", mode="w", delete=False) as job_conf:
|
||||
job_conf.write(job_conf_str)
|
||||
return job_conf.name
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ def job_config(jobs_directory):
|
||||
tool_directory=TOOL_DIR,
|
||||
k8s_config_path=os.environ.get('GALAXY_TEST_KUBE_CONFIG_PATH', '~/.kube/config'),
|
||||
)
|
||||
with tempfile.NamedTemporaryFile(suffix="_kubernetes_integration_job_conf", mode="w", delete=False) as job_conf:
|
||||
with tempfile.NamedTemporaryFile(suffix="_kubernetes_integration_job_conf.xml", mode="w", delete=False) as job_conf:
|
||||
job_conf.write(job_conf_str)
|
||||
return Config(job_conf.name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user