From d78076990cec52131c5b51cd3dbbaa43496b173c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Sv=C3=A4rd?= Date: Tue, 1 Oct 2024 18:44:48 +0200 Subject: [PATCH] more fixes --- cg_lims/EPPs/udf/calculate/calculate_buffer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cg_lims/EPPs/udf/calculate/calculate_buffer.py b/cg_lims/EPPs/udf/calculate/calculate_buffer.py index 8d224bb1..bc15dc66 100644 --- a/cg_lims/EPPs/udf/calculate/calculate_buffer.py +++ b/cg_lims/EPPs/udf/calculate/calculate_buffer.py @@ -69,7 +69,7 @@ def volume_buffer( volume_udf: str, buffer_udf: str, sample_volume_limit: float, - maximum_volume: float, + max_volume: float, ): """Buffer volume calculation.""" @@ -85,7 +85,7 @@ def volume_buffer( volume_udf=volume_udf, buffer_udf=buffer_udf, sample_volume_limit=sample_volume_limit, - maximum_volume=maximum_volume, + maximum_volume=int(max_volume), ) message = "Volumes have been calculated." LOG.info(message)