Skip to content

Rename remove_duplicate_reactions to contract_model - #201

Merged
edkerk merged 1 commit into
developfrom
feat/contract-model
Nov 8, 2026
Merged

edkerk merged 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.
@edkerk
edkerk merged commit 83bd344 into develop Nov 8, 2026
10 checks passed
@edkerk
edkerk deleted the feat/contract-model branch November 8, 2026 10:54
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