noctis.data_transformation.preprocessing.data_preprocessing.ReactionStringsPreprocessor¶
- class noctis.data_transformation.preprocessing.data_preprocessing.ReactionStringsPreprocessor(schema: GraphSchema, config: PreprocessorConfig)[source]¶
Preprocessor for handling lists of chemical reaction strings, extracting nodes and relationships based on a predefined schema and configuration.
- Inherits from:
ChemicalStringPreprocessorBase PythonObjectPreprocessorInterface
- __init__(schema: GraphSchema, config: PreprocessorConfig)¶
Initialize the preprocessor with a graph schema and configuration.
- Args:
schema (GraphSchema): The schema defining nodes and relationships. config (PreprocessorConfig): Configuration settings for preprocessing.
Methods
__init__(schema, config)Initialize the preprocessor with a graph schema and configuration.
run(data)Process a list of chemical reaction strings to extract nodes and relationships.
Attributes
failed_strings