Skip to content

Commit f2e46fa

Browse files
ndg63276Mark Williams
andauthored
LIMS-1975: Fix 'View Upstream' button for LigandFit pipeline (#1011)
Co-authored-by: Mark Williams <[email protected]>
1 parent 5e6f76b commit f2e46fa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

api/src/Downstream/Type/LigandFit.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ function results() {
5656
$dat['MODEL_APPAID'] = $appaid;
5757
$dat['SOLUTIONS'] = json_decode($json_data);
5858
$dat['PARENTAUTOPROCPROGRAM'] = $this->process['PROCESSINGCOMMENTS'];
59+
60+
$integrator = $this->_lookup_autoproc(
61+
null,
62+
$this->process['PARAMETERS']['scaling_id']
63+
);
64+
if ($integrator) {
65+
$dat['PARENTAUTOPROCPROGRAM'] .= ' (' . $integrator['PROCESSINGPROGRAMS'] . ')';
66+
$dat['PARENTAUTOPROCPROGRAMID'] = $integrator['AUTOPROCPROGRAMID'];
67+
}
5968

6069
$results = new DownstreamResult($this);
6170
$results->data = $dat;

0 commit comments

Comments
 (0)