Skip to content

Commit

Permalink
updated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pmendes committed Nov 6, 2024
1 parent 28226af commit f448db1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sbmodelr.py
Original file line number Diff line number Diff line change
Expand Up @@ -2083,11 +2083,12 @@ def main():

# regulated synthesis (GRNs)
if( args.grn ):
# if we are not ignoring compartments issue warning suggesting we should
# GRNs only work with dimension 1 and a network graph
if (dim != 1) or (not args.network ):
# error
print( f'ERROR: regulatory synthesis reactions can only be created with dimension 1 and through a network (use option -n)' )
exit()
# if we are not ignoring compartments issue warning suggesting we should
if not args.ignore_compartments:
print(f' Warning: option --ignore-compartments is often desirable for building regulatory networks')
# create all rate-laws for regulatory synthesis
Expand Down

0 comments on commit f448db1

Please sign in to comment.