Method: Chem::KEGG::KCFRXN#corresponds

Defined in:
lib/chem/db/kcf.rb

#corresponds(from, to) ⇒ Object



155
156
157
158
159
# File 'lib/chem/db/kcf.rb', line 155

def corresponds from, to
  @matched_reactants.push(@reactant.atoms[from])
  @matched_products.push(@product.atoms[from])
  @nodes.push(RXNNode.new(@reactant.atoms[from], @product.atoms[to]))
end