Skip to content

Commit

Permalink
Merge pull request #899 from aanil/samples_tab
Browse files Browse the repository at this point in the history
Add icon for new processed status for aviti FC and add some comments
  • Loading branch information
aanil authored Nov 22, 2024
2 parents 8c77974 + 67ef31b commit c3382d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion run_dir/static/js/element_flowcell.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,10 @@ app.component('v-element-flowcell', {
return 'fa-solid fa-bring-front'
} else if (this.$root.run_status === "transferring") {
return 'fa-solid fa-upload'
} else if (this.$root.run_status === "archived") {
} else if (this.$root.run_status === "processed") {
return 'fa-solid fa-check'
} else if (this.$root.run_status === "archived") {
return 'fa-solid fa-box-archive'
} else {
return 'fa-solid fa-question'
}
Expand Down
5 changes: 5 additions & 0 deletions status/flowcell.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,11 @@ def get_project_names_from_ids(project_ids: list, projects_db) -> list[dict]:


class ElementFlowcellDataHandler(SafeHandler):
"""Serves information for a given element flowcell.
Loaded through /api/v1/element_flowcell/([^/]*$)
"""

def get(self, name):
rows = self.application.element_runs_db.view("info/id", include_docs=True)[
name
Expand Down

0 comments on commit c3382d9

Please sign in to comment.