diff --git a/run_dir/design/project_samples_old.html b/run_dir/design/project_samples_old.html index 12ad2e87..33035ab5 100644 --- a/run_dir/design/project_samples_old.html +++ b/run_dir/design/project_samples_old.html @@ -141,22 +141,20 @@

User project description No reports to show {% end %} {% if 'multiqc' in reports%} -

{% for key in reports['multiqc'] %} {% if 'qc' in key %} {% set rep_name = ' QC' %} {% else %} {% set rep_name = ' '+key.strip('_').capitalize() %} {% end %} - Open{{ rep_name }} MultiQC report + MultiQC {{ rep_name }} {% end %} {% end %} {% if 'project_summary' in reports %} - - Open Project Summary report + Project Summary {% end %} {% if 'sample_summary_reports' in reports %} - + {% for sample in reports['sample_summary_reports'] %} {{ sample}} {% end %} diff --git a/status/flowcell.py b/status/flowcell.py index 67e8dd09..11330f69 100644 --- a/status/flowcell.py +++ b/status/flowcell.py @@ -760,10 +760,19 @@ def get(self, name): barcodes=self.fetch_barcodes(name), args=self.fetch_args(name), has_minknow_report=os.path.exists( - f"{self.application.minknow_reports_path}/report_{name}.html" + os.path.join( + self.application.reports_path, + "minknow_reports", + f"report_{name}.html", + ) ), has_toulligqc_report=os.path.exists( - f"{self.application.toulligqc_reports_path}/report_{name}.html" + os.path.join( + self.application.reports_path, + "other_reports", + "toulligqc_reports", + f"report_{name}.html", + ) ), user=self.get_current_user(), )