From 93177457f947a9da9127a475b9a7e1116cba34e7 Mon Sep 17 00:00:00 2001 From: Mark W <24956497+ndg63276@users.noreply.github.com> Date: Tue, 12 Nov 2024 10:05:09 +0000 Subject: [PATCH] LIMS-1469: Fix download button on old summary page (#840) Co-authored-by: Mark Williams --- api/src/Page/Download.php | 4 +--- client/src/js/modules/dc/views/summary.js | 2 +- client/src/js/modules/summary/views/summary.vue | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/api/src/Page/Download.php b/api/src/Page/Download.php index 4a6c925f3..6333e6b0e 100644 --- a/api/src/Page/Download.php +++ b/api/src/Page/Download.php @@ -92,9 +92,7 @@ function _download_visit() $this->_error('There doesnt seem to be a data archive available for this visit'); } - # ------------------------------------------------------------------------ - # Download mtz/log file for Fast DP / XIA2 - # TODO: Delete me + # This method either returns a list of plots from MX auto processing tools (n_obs, n_uniq, completeness etc.) # Or returns a specific plot based on auto processing attachment id (aid). # Individual plotly format Graphs can be returned via an aid, but will not be included in the list of plots (as their format is different) diff --git a/client/src/js/modules/dc/views/summary.js b/client/src/js/modules/dc/views/summary.js index bf7116830..670ad84b4 100644 --- a/client/src/js/modules/dc/views/summary.js +++ b/client/src/js/modules/dc/views/summary.js @@ -125,7 +125,7 @@ define(['marionette', { label: 'Resolution', cell: APCell, template: '<%-SHELLS.overall.RLOW%> - <%-SHELLS.overall.RHIGH%>
<%-SHELLS.innerShell.RLOW%> - <%-SHELLS.innerShell.RHIGH%>
<%-SHELLS.outerShell.RLOW%> - <%-SHELLS.outerShell.RHIGH%>', editable: false }, { label: 'Rmeas', cell: APCell, template: '<%-SHELLS.overall.RMEAS%>
<%-SHELLS.innerShell.RMEAS%>
<%-SHELLS.outerShell.RMEAS%>', editable: false }, { label: 'Completeness', cell: APCell, template: '<%-SHELLS.overall.COMPLETENESS%>
<%-SHELLS.innerShell.COMPLETENESS%>
<%-SHELLS.outerShell.COMPLETENESS%>', editable: false }, - { label: '', cell: APCell, template: ' Download MTZ file', editable: false }, + { label: '', cell: APCell, template: ' Download autoprocessing archive', editable: false }, ] diff --git a/client/src/js/modules/summary/views/summary.vue b/client/src/js/modules/summary/views/summary.vue index e57f83fed..9eb3ebcae 100644 --- a/client/src/js/modules/summary/views/summary.vue +++ b/client/src/js/modules/summary/views/summary.vue @@ -397,8 +397,8 @@

- +

-->