stk.DativeReactionFactory
- class stk.DativeReactionFactory(reaction_factory)[source]
Bases:
ReactionFactoryCreate
DativeReactioninstances.This reaction factory assumes that the functional groups, which belong to the
EdgeGrouppassed to it, areGenericFunctionalGroupinstances. It returns aReactionsuitable for two such instances.Dative bonds are defined with a bond_order of 9, running from the non-metal atom to the metal atom.
Initialize a
DativeReactionFactory.- Parameters:
reaction_factory (
GenericReactionFactory) – Used to create reactions.
Methods
Get a reaction to use on the edge_group.
- get_reaction(construction_state, edge_group)[source]
Get a reaction to use on the edge_group.
- Parameters:
construction_state (
ConstructionState) – The state of the current construction.edge_group (
EdgeGroup) – The edge group for which a reaction should be found.
- Returns:
The reaction to use on the edge_group.
- Return type: