diff --git a/run_dir/design/deliveries.html b/run_dir/design/deliveries.html index 676e6337..8cc2fa8d 100644 --- a/run_dir/design/deliveries.html +++ b/run_dir/design/deliveries.html @@ -145,7 +145,13 @@

- {{ flowcell_id }} + {% set url_addition = "" %} + {% if flowcell.get("instrument_type") == "element"%} + {% set url_addition = "_element" %} + {% elif flowcell.get("instrument_type") == "ont"%} + {% set url_addition = "_ont" %} + {% end %} + {{ flowcell_id }} {{ flowcell['flowcell_status'] }}
diff --git a/status/deliveries.py b/status/deliveries.py index 7c586f86..1f11f282 100644 --- a/status/deliveries.py +++ b/status/deliveries.py @@ -159,6 +159,7 @@ def get(self): # define bioinfo checklist sample_data = flowcells[flowcell_id][lane_id][sample_id] + instrument_type = sample_data.get("instrument_type") checklist = self.__fill_checklist(sample_data) if checklist["total"] and len(checklist["total"]) == len( checklist["passed"] @@ -233,6 +234,7 @@ def get(self): flowcell_status = self.__aggregate_status(flowcell_statuses) runs_bioinfo[flowcell_id]["flowcell_status"] = flowcell_status runs_bioinfo[flowcell_id]["checklist"] = flowcell_checklists + runs_bioinfo[flowcell_id]["instrument_type"] = instrument_type # add flowcell_status to the status_list (needed for filtering) if flowcell_status not in status_list: diff --git a/status/running_notes.py b/status/running_notes.py index 3b090108..71c4d4ac 100644 --- a/status/running_notes.py +++ b/status/running_notes.py @@ -328,7 +328,7 @@ def notify_tagged_user( html = '\ \

\ - {} in the project {}, {}! The note is as follows

\ + {} in the project {}, {}
The note is as follows

\
\
\
\