Skip to content

Commit

Permalink
cleanup species metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
cdanielmachado committed Nov 7, 2017
1 parent 360de85 commit 62f54f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions carveme/reconstruction/carving.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,10 @@ def cleanup_metadata(model):
for met in model.metabolites.values():
if 'BiGG models' in met.metadata:
del met.metadata['BiGG models']
if 'CHEBI' in met.metadata:
del met.metadata['CHEBI']
if 'CHARGE' in met.metadata:
del met.metadata['CHARGE']

for rxn in model.reactions.values():
if 'BiGG models' in rxn.metadata:
Expand Down

0 comments on commit 62f54f3

Please sign in to comment.