diff --git a/cg/models/orders/constants.py b/cg/models/orders/constants.py index 42ab938df4..aacec8e9e5 100644 --- a/cg/models/orders/constants.py +++ b/cg/models/orders/constants.py @@ -26,6 +26,7 @@ class ExcelSampleAliases(StrEnum): COLLECTION_DATE = "UDF/Collection Date" COMMENT = "UDF/Comment" CONCENTRATION = "UDF/Concentration (nM)" + CONCENTRATION_NG_UL = "UDF/Concentration (ng/ul)" CONCENTRATION_SAMPLE = "UDF/Sample Conc." CONTAINER = "Container/Type" CONTAINER_NAME = "Container/Name" diff --git a/cg/models/orders/excel_sample.py b/cg/models/orders/excel_sample.py index bdc293f4e2..7e6a2dac7c 100644 --- a/cg/models/orders/excel_sample.py +++ b/cg/models/orders/excel_sample.py @@ -29,6 +29,7 @@ class ExcelSample(OrderSample): concentration: Annotated[str, AfterValidator(numeric_value)] = Field( None, alias=ExcelSampleAliases.CONCENTRATION ) + concentration_ng_ul: Field(alias=ExcelSampleAliases.CONCENTRATION_NG_UL) concentration_sample: Annotated[str, AfterValidator(numeric_value)] = Field( None, alias=ExcelSampleAliases.CONCENTRATION_SAMPLE )