Skip to content

Commit

Permalink
fixed another bug
Browse files Browse the repository at this point in the history
  • Loading branch information
idalindegaard committed Jan 4, 2024
1 parent ea7e82b commit 6657fa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cg_lims/EPPs/udf/calculate/pool_normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_total_volume(artifact: Artifact, total_volume_udf: str) -> float:


def calculate_sample_volume(
final_concentration: float, artifact: Artifact, total_volume_udf: str
final_concentration: float, artifact: Artifact, total_volume_udf: str, concentration_udf: str
) -> float:
"""Calculate and return the sample volume needed to reach the desired final concentration."""
sample_concentration: float = get_artifact_concentration(
Expand Down Expand Up @@ -92,6 +92,7 @@ def set_artifact_volumes(
final_concentration=final_concentration,
artifact=artifact,
total_volume_udf=total_volume_udf,
concentration_udf=concentration_udf,
)
buffer_volume: float = calculate_buffer_volume(
total_volume=total_volume, sample_volume=sample_volume
Expand Down

0 comments on commit 6657fa5

Please sign in to comment.