Skip to content

Commit

Permalink
Small change to boolean.py to handle the case where a Boolean node ex…
Browse files Browse the repository at this point in the history
…ists but doesn't have an update rule (e.g., a drug node that is turned ON when the drugged is applied)
  • Loading branch information
lh64 committed Feb 12, 2023
1 parent 776172b commit 491577e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysb/importers/boolean.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(self, filename, format='BooleanNet', mode='GSP', force=False):
nfired_pat = []
#~~~~~
for name,state in self.initial_states.items():
rank = self.function_ranks.get(name)
rank = self.function_ranks.get(name, 1)
# create monomer
mon_sites = ['state']
mon_site_states = {'state' : ['False','True']}
Expand Down

0 comments on commit 491577e

Please sign in to comment.