rxn.chemutils.rdf.reaction_properties.ReactionProperties

class rxn.chemutils.rdf.reaction_properties.ReactionProperties(meta)[source]

Bases: object

Class compiling the reaction properties given for an RDF reaction.

Parameters

meta (Dict[str, str]) –

__init__(meta)[source]
Parameters

meta (Dict[str, str]) –

Methods

__init__(meta)

param meta

get_compound_dicts()

NB: this function allows to iterate through the compounds in the property dict and make edits there (see ReactionUpdater).

get_compounds()

Get the compounds involved in a reaction, without the reactants and products.

get_compound_dicts()[source]

NB: this function allows to iterate through the compounds in the property dict and make edits there (see ReactionUpdater).

Return type

Iterator[Dict[str, str]]

get_compounds()[source]

Get the compounds involved in a reaction, without the reactants and products.

Return type

Iterator[Compound]