Skip to content

Commit

Permalink
Fix priority and status sample fields (#3525)
Browse files Browse the repository at this point in the history
* Missed fields

* Add missing control field
  • Loading branch information
seallard authored Aug 6, 2024
1 parent 558746a commit 6bed1b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cg/services/sample_service/dto_mappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ def create_sample_dto(sample: Sample) -> SampleDTO:

return SampleDTO(
comment=sample.comment,
control=sample.control,
customer=customer,
internal_id=sample.internal_id,
name=sample.name,
phenotype_groups=sample.phenotype_groups,
phenotype_terms=sample.phenotype_terms,
priority=sample.priority,
priority=sample.priority_human,
reference_genome=sample.reference_genome,
status=sample.state,
subject_id=sample.subject_id,
tumour=sample.is_tumour,
application=application,
Expand Down

0 comments on commit 6bed1b7

Please sign in to comment.