diff --git a/api/src/Downstream/Type/LigandFit.php b/api/src/Downstream/Type/LigandFit.php index fb165959c..5f15a810f 100644 --- a/api/src/Downstream/Type/LigandFit.php +++ b/api/src/Downstream/Type/LigandFit.php @@ -56,6 +56,15 @@ function results() { $dat['MODEL_APPAID'] = $appaid; $dat['SOLUTIONS'] = json_decode($json_data); $dat['PARENTAUTOPROCPROGRAM'] = $this->process['PROCESSINGCOMMENTS']; + + $integrator = $this->_lookup_autoproc( + null, + $this->process['PARAMETERS']['scaling_id'] + ); + if ($integrator) { + $dat['PARENTAUTOPROCPROGRAM'] .= ' (' . $integrator['PROCESSINGPROGRAMS'] . ')'; + $dat['PARENTAUTOPROCPROGRAMID'] = $integrator['AUTOPROCPROGRAMID']; + } $results = new DownstreamResult($this); $results->data = $dat;