Refactor into modular molecular workloads

This commit is contained in:
Emil
2026-07-13 22:50:56 +03:00
parent df4bda6acb
commit 34beb8b0aa
19 changed files with 798 additions and 290 deletions
+21
View File
@@ -0,0 +1,21 @@
from __future__ import annotations
from pathlib import Path
import pytest
@pytest.fixture
def small_dataset(tmp_path: Path) -> Path:
path = tmp_path / "molecules.tsv"
path.write_text(
"chembl_id\tcanonical_smiles\n"
"QUERY\tCCO\n"
"ALCOHOL\tCCCO\n"
"AMINE\tCCN\n"
"BENZENE\tc1ccccc1\n"
"BROKEN\tnot-a-smiles\n"
"DUPLICATE\tCCO\n",
encoding="utf-8",
)
return path