feat(validation): export validation module from package
This commit is contained in:
@@ -36,8 +36,10 @@ __all__ = [
|
|||||||
"MacrolactoneDetectionError",
|
"MacrolactoneDetectionError",
|
||||||
"MacrolactoneError",
|
"MacrolactoneError",
|
||||||
"MacrolactoneFragmenter",
|
"MacrolactoneFragmenter",
|
||||||
|
"MacrolactoneValidator",
|
||||||
"MacrocycleClassificationResult",
|
"MacrocycleClassificationResult",
|
||||||
"numbered_molecule_svg",
|
"numbered_molecule_svg",
|
||||||
|
"ParentMolecule",
|
||||||
"RingNumberingError",
|
"RingNumberingError",
|
||||||
"RingNumberingResult",
|
"RingNumberingResult",
|
||||||
"results_to_dataframe",
|
"results_to_dataframe",
|
||||||
@@ -48,4 +50,11 @@ __all__ = [
|
|||||||
"write_result_json",
|
"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"
|
__version__ = "0.1.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user