Skip to content

Commit

Permalink
chore(rplibs): clean isolated species group when loading SBML file
Browse files Browse the repository at this point in the history
  • Loading branch information
breakthewall committed Nov 29, 2023
1 parent b56cb0f commit 1aff924
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rptools/rplibs/rpPathway.py
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,10 @@ def create_target_consumption_reaction(

def setup_pathway_fba(self):

# Remove isolated species
self.set_fba_ignored_species([])
self.get_rpsbml().rm_isolated_species()

# Create consumption of the target
rxn_target = rpReaction(id="rxn_target", logger=self.get_logger())
rxn_target.add_reactant(compound_id=self.get_target_id(), stoichio=1)
Expand Down

0 comments on commit 1aff924

Please sign in to comment.