Skip to content

Commit

Permalink
Fix(microFASTQ) Set internal_id when ordering (#3883)(patch)
Browse files Browse the repository at this point in the history
### Fixed
- internal_id is now set to the LIMS-ID when submitting an order
  • Loading branch information
Vince-janv authored Oct 28, 2024
1 parent 9818649 commit 0bc815e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def order_to_status(order: OrderIn) -> dict:
{
"application": sample.application,
"comment": sample.comment,
"internal_id": sample.internal_id,
"data_analysis": sample.data_analysis,
"data_delivery": sample.data_delivery,
"name": sample.name,
Expand Down Expand Up @@ -121,6 +122,7 @@ def _create_sample(
customer=customer,
sex=SexOptions.UNKNOWN,
comment=sample_dict["comment"],
internal_id=sample_dict["internal_id"],
order=order,
ordered=ordered,
original_ticket=ticket_id,
Expand Down

0 comments on commit 0bc815e

Please sign in to comment.