mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-01 15:37:32 +08:00
Fix hdca reference in invocation reports
Love that we still forget about them
This commit is contained in:
@@ -15,6 +15,7 @@ export interface Invocation {
|
||||
history_id: string;
|
||||
inputs: Record<string, { label?: string; id?: string }>;
|
||||
outputs: Record<string, { id?: string }>;
|
||||
output_collections: Record<string, { id?: string }>;
|
||||
steps: { workflow_step_label?: string; job_id?: string; implicit_collection_jobs_id?: string }[];
|
||||
workflow_id: string;
|
||||
}
|
||||
|
||||
@@ -26,10 +26,10 @@ export function parseInput(invocation: Invocation, name: string | undefined) {
|
||||
}
|
||||
|
||||
export function parseOutput(invocation: Invocation, name: string | undefined) {
|
||||
if (name && invocation.outputs) {
|
||||
const output = invocation.outputs[name];
|
||||
return output?.id;
|
||||
if (!name) {
|
||||
return undefined
|
||||
}
|
||||
return invocation.outputs[name]?.id || invocation.output_collections[name]?.id
|
||||
}
|
||||
|
||||
export function parseStep(invocation: Invocation, name: string | undefined) {
|
||||
|
||||
Reference in New Issue
Block a user