mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 02:04:04 +08:00
Expose commandline if expose_dataset_path is set
This restores what templates/show_params.mako used to do prior to https://github.com/galaxyproject/galaxy/pull/10980/ Fixes https://github.com/galaxyproject/galaxy/issues/11651
This commit is contained in:
@@ -387,6 +387,8 @@ class JobSearch:
|
||||
def view_show_job(trans, job, full: bool) -> typing.Dict:
|
||||
is_admin = trans.user_is_admin
|
||||
job_dict = trans.app.security.encode_all_ids(job.to_dict('element', system_details=is_admin), True)
|
||||
if trans.app.config.expose_dataset_path and 'command_line' not in job_dict:
|
||||
job_dict['command_line'] = job.command_line
|
||||
if full:
|
||||
job_dict.update(dict(
|
||||
tool_stdout=job.tool_stdout,
|
||||
|
||||
Reference in New Issue
Block a user