ModelSEED MS Reaction - ModelSEED/Model-SEED-core GitHub Wiki

checkReactionMassChargeBalance Definition: { balanced => 0/1, error => string, imbalancedAtoms => { C => 1, ... } imbalancedCharge => float } = ModelSEED::MS::Reaction->checkReactionMassChargeBalance({ rebalanceProtons => 0/1(0):boolean flag indicating if protons should be rebalanced if they are the only imbalanced elements in the reaction }); Description: Checks if the reaction is mass and charge balanced, and rebalances protons if called for, but only if protons are the only broken element in the equation

⚠️ **GitHub.com Fallback** ⚠️