mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Add Job stdout/stderr to library item info page to aid in debugging.
This commit is contained in:
@@ -1309,6 +1309,7 @@ assign_mapper( context, GalaxySessionToHistoryAssociation, GalaxySessionToHistor
|
||||
history=relation( History ) ) )
|
||||
|
||||
HistoryDatasetAssociation.mapper.add_property( "creating_job_associations", relation( JobToOutputDatasetAssociation ) )
|
||||
LibraryDatasetDatasetAssociation.mapper.add_property( "creating_job_associations", relation( JobToOutputLibraryDatasetAssociation ) )
|
||||
|
||||
assign_mapper( context, Workflow, Workflow.table,
|
||||
properties=dict( steps=relation( WorkflowStep, backref='workflow',
|
||||
|
||||
@@ -109,6 +109,21 @@
|
||||
${ldda.info}
|
||||
<div style="clear: both"></div>
|
||||
</div>
|
||||
<% job = ldda.creating_job_associations[0].job %>
|
||||
%if job.stdout.strip() != '':
|
||||
<div class="form-row">
|
||||
<label>Job Standard Output</label>
|
||||
<pre>${job.stdout}</pre>
|
||||
<div style="clear: both"></div>
|
||||
</div>
|
||||
%endif
|
||||
%if job.stderr.strip() != '':
|
||||
<div class="form-row">
|
||||
<label>Job Standard Error</label>
|
||||
<pre>${job.stderr}</pre>
|
||||
<div style="clear: both"></div>
|
||||
</div>
|
||||
%endif
|
||||
<div class="form-row">
|
||||
<div>${ldda.blurb}</div>
|
||||
</div>
|
||||
|
||||
@@ -373,6 +373,7 @@ def add_file( dataset, registry, json_file, output_path ):
|
||||
# Groom the dataset content if necessary
|
||||
datatype = registry.get_datatype_by_extension( ext )
|
||||
datatype.groom_dataset_content( output_path )
|
||||
raise Exception( 'KAPOW' )
|
||||
|
||||
def add_composite_file( dataset, registry, json_file, output_path, files_path ):
|
||||
if dataset.composite_files:
|
||||
|
||||
Reference in New Issue
Block a user