Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model updated with corrected chemical formulas of the metabolites and… #3

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

VicTorres23
Copy link
Contributor

… code used to do this

@VicTorres23 VicTorres23 linked an issue Jul 2, 2024 that may be closed by this pull request
output_model_path = os.path.join(_file_path, output_model_name)

model = read_sbml_model("csc009.xml")
#model = read_sbml_model("csc031.xml")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These extra fields can be removed as this model is only concerned with the uncommented model=.

metabolite_to_change.formula = metabolites_formula[i]
return model

#def update_2(model):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can go ahead and remove this commented out update2(model), we can re-add it when it becomes relevant, but let's just keep the necessary code for now.

@@ -0,0 +1,74 @@
#!/usr/bin/env python
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove these artifacts (L1-L4) that came from converting a jupyter cell to py script, just start the top of the script with a description of the file:

you can use:
https://github.com/pnnl-predictive-phenomics/SElon-GEM/blob/main/syn_elong/model_changes.py

as an example

@mcnaughtonadm
Copy link
Contributor

Could you also move these files from the root (the main directory) to the directory labeled csc009?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect Chemical Formulas found in some Metabolites
2 participants