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

feat: automated MACAW tests #840

Merged
merged 19 commits into from
Sep 30, 2024
Merged

feat: automated MACAW tests #840

merged 19 commits into from
Sep 30, 2024

Conversation

edkerk
Copy link
Member

@edkerk edkerk commented Sep 18, 2024

Main improvements in this PR:

As discussed in #827, MACAW duplicate and dead-end metabolite tests are now run for each PR. Summary results should reported as comment in the PR, while the more detailed output is kept in data/macawResults/macaw_results.csv (where a README.md specifies from with PR the results were derived from).

I hereby confirm that I have:

  • Tested my code on my own computer for running the model
  • Selected develop as a target branch
  • Any removed reactions and metabolites have been moved to the corresponding deprecated identifier lists

Copy link

github-actions bot commented Sep 18, 2024

This PR has been automatically tested with GH Actions. Here is the output of the macaw test:

Starting dead-end test...
- Found 1373 dead-end metabolites.
- Found 1129 reactions incapable of sustaining steady-state fluxes in either direction due to these dead-ends.
- Found 1595 reversible reactions that can only carry steady-state fluxes in a single direction due to dead-ends.
Starting duplicate test...
- Skipping redox duplicates because no redox_pairs and/or proton_ids were provided.
- Found 447 reactions that were some type of duplicate:
- 0 were completely identical to at least one other reaction.
- 13 involve the same metabolites but go in the opposite direction or have the opposite reversibility as at least one other reaction.
- 447 involve the same metabolites but with different coefficients as at least one other reaction.

A more detailed output from this test run is also committed to data/macawResults/macaw_results.csv.

Note: In the case of multiple test runs, this post will be edited.

@edkerk edkerk mentioned this pull request Sep 23, 2024
3 tasks
@edkerk edkerk merged commit a5f18ca into develop Sep 30, 2024
5 checks passed
@edkerk edkerk deleted the feat/macaw_tests branch September 30, 2024 10:11
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.

2 participants