Skip to content

Commit

Permalink
analysis_list would return organism's name, label, and yaml.
Browse files Browse the repository at this point in the history
  • Loading branch information
adRn-s committed Nov 19, 2024
1 parent f4c2e9a commit 7520b0b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
5 changes: 2 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
??.??.??
========
<!--

Breaking changes:

- API endpoint `api/analysis_list/analysis_list/?flowcell_id={FCID}` was updated to return a list of 3 strings representing the organism (name, which is the old string returned until now, plus: label for naming downstream analysis directories, and a yaml key or filepath for snakePipes.)
- API endpoint `api/analysis_list/analysis_list/?flowcell_id={FCID}` was updated to return a list of 3 strings representing the organism (name, which is the old string returned until now, plus: label for naming downstream analysis directories, and a yaml key or filepath for downstream analyses e.g. cellranger and snakePipes.)

Non-breaking changes:
-->

- ...

Expand Down
11 changes: 5 additions & 6 deletions backend/flowcell/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,12 +436,11 @@ def analysis_list(self, request):
item.name,
item.library_type.name,
item.library_protocol.name,
item.organism.name,
# (
# item.organism.name,
# item.organism.label,
# item.organism.yaml,
# ),
[
item.organism.name,
item.organism.label,
item.organism.yaml,
],
ind_type,
item.sequencing_depth,
]
Expand Down

0 comments on commit 7520b0b

Please sign in to comment.