Skip to content

Commit

Permalink
Merge pull request #324 from c3g/fix-export-qc
Browse files Browse the repository at this point in the history
Fixed issue by adding the container.id
  • Loading branch information
sebastianballesteros authored Jun 30, 2022
2 parents 1c717dc + 0c3daf8 commit ac09229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/fms_core/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def serialize_sample_export(sample: Sample) -> Dict[str, Any]:
'alias': biosample.alias,
'sample_kind': first_derived_sample.sample_kind.name,
'tissue_source': first_derived_sample.tissue_source.name if first_derived_sample.tissue_source else "",
'container': sample.container,
'container': sample.container.id,
'container_kind': sample.container.kind,
'container_name': sample.container.name,
'container_barcode': sample.container.barcode,
Expand Down

0 comments on commit ac09229

Please sign in to comment.