feat(validation): export validation module from package

This commit is contained in:
2026-03-19 10:32:05 +08:00
parent dc2812842e
commit a9052bbf89

View File

@@ -36,8 +36,10 @@ __all__ = [
"MacrolactoneDetectionError",
"MacrolactoneError",
"MacrolactoneFragmenter",
"MacrolactoneValidator",
"MacrocycleClassificationResult",
"numbered_molecule_svg",
"ParentMolecule",
"RingNumberingError",
"RingNumberingResult",
"results_to_dataframe",
@@ -48,4 +50,11 @@ __all__ = [
"write_result_json",
]
# Validation module (optional import)
try:
from .validation.validator import MacrolactoneValidator
from .validation.models import ParentMolecule, SideChainFragment
except ImportError:
pass # SQLModel not installed
__version__ = "0.1.0"