Skip to content

Commit

Permalink
updates to resolve bugs in pamparametrizer
Browse files Browse the repository at this point in the history
  • Loading branch information
SamiralVdB committed Dec 17, 2024
1 parent b11611a commit cc98495
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 29 deletions.
Binary file not shown.
23 changes: 0 additions & 23 deletions docs/.gitignore

This file was deleted.

5 changes: 1 addition & 4 deletions docs/api_reference/CatalyticEvent.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
---
sidebar_label: CatalyticEvent
title: CatalyticEvent
---
# CatalyticEvent

CatalyticEvent object which relates Reaction variables to the EnzymeVariable and Enzyme objects.
It contains multiple functions which enable easy mapping and handling of one Event of catalysis
Expand Down
File renamed without changes
4 changes: 2 additions & 2 deletions src/PAModelpy/EnzymeSectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ def add(self, model):
reaction = model.reactions.query(rxn_id)
for rxn in reaction:
rxn2protein[rxn.id] = enzymes

del rxn2protein[rxn_id]
if rxn_id in rxn2protein.keys():
del rxn2protein[rxn_id]
except:
print(model.reactions.query(rxn_id))
warn(
Expand Down

0 comments on commit cc98495

Please sign in to comment.