rxn.reaction_preprocessing.annotations.molecule_annotation.load_annotations

rxn.reaction_preprocessing.annotations.molecule_annotation.load_annotations(json_file)[source]

Load the molecule annotations from a JSON file.

Parameters

json_file (Union[Path, str]) – path to the JSON file containing the annotations.

Return type

List[MoleculeAnnotation]

Returns

List of annotations.