Configure PRODIGY pipeline for WES execution with S3 and Harbor
Some checks failed
ci / test (3.10) (push) Has been cancelled
ci / test (3.11) (push) Has been cancelled
ci / test (3.12) (push) Has been cancelled
ci / test (3.13) (push) Has been cancelled
ci / test (3.9) (push) Has been cancelled

This commit is contained in:
2026-03-17 16:38:16 +01:00
commit 19fd443501
38 changed files with 16328 additions and 0 deletions

21
tests/test_utils.py Normal file
View File

@@ -0,0 +1,21 @@
import math
import tempfile
from pathlib import Path
from prodigy_prot.modules.utils import check_path, dg_to_kd
def test_check_path():
temp_f = tempfile.NamedTemporaryFile(delete=False)
result = check_path(temp_f.name)
assert result == temp_f.name
Path(temp_f.name).unlink()
def test_dg_to_kd():
assert math.isclose(dg_to_kd(0.0), 1.0, rel_tol=1e-9)