Skip to content

Rename remove_duplicate_reactions to contract_model - #201

Open
edkerk wants to merge 1 commit into
developfrom
feat/contract-model
Open

edkerk wants to merge 1 commit into
developfrom
feat/contract-model

Conversation

@edkerk

@edkerk edkerk commented Nov 7, 2026

Copy link
Copy Markdown
Collaborator

manipulation.contract_model is the new name of remove_duplicate_reactions, after RAVEN's contractModel, and the old name is removed. contract_model takes dist_reverse (default True), the distReverse option of contractModel: with False, reactions with the same metabolites and a different reversibility are duplicates. simplify_model and replace_metabolite call contract_model.

The parity ledger of raven-gecko-parity and the curated name pairs of raven-docs follow in their own pull requests.

contract_model follows RAVEN's contractModel and takes dist_reverse, the distReverse option. The name remove_duplicate_reactions is removed.

This branch has not been deployed

No deployments
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.

1 participant