Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BioNetGen 2.8.0 appears to change the case requirements for states #245

Open
jonrkarr opened this issue Feb 27, 2022 · 1 comment
Open

Comments

@jonrkarr
Copy link

jonrkarr commented Feb 27, 2022

Example: https://github.com/biosimulators/Biosimulators_test_suite/blob/0.1.84/examples/bngl/Dolan-PLoS-Comput-Biol-2015-NHEJ/Dolan2015.bngl

  • This works with BioNetGen < 2.8.0
  • 2.8.0 produced the error log below
  • For 2.8.0, I needed to change the PLUS and MINUS states to Plus and Minus (see changes) to avoid these errors.
Error log:
You are trying to give a pattern of type 'Sen', but you gave an 
invalid state! The state you gave was: 'PLUS'.  Quitting now.
You are trying to give a pattern of type 'Sen', but you gave an 
invalid state! The state you gave was: 'MINUS'.  Quitting now.
ABORT: /opt/BioNetGen-2.8.0/bin/NFsim -xml ./Dolan2015_nf_run1.xml -o ./Dolan2015_nf_run1.gdat -sim 100 -oSteps 100 -cb -ss ./Dolan2015_nf_run1.species -v -gml 1000000000 did not run successfully.

I'm post this here in case this wasn't an intentional change.

@jrfaeder
Copy link
Contributor

I don't get this error running bionetgen 2.8.0 on a mac.
For reference here's the output of bionetgen info

BNG version: 2.8.0
BNG2.pl path: /Users/faeder/opt/anaconda3/envs/py39/lib/python3.9/site-packages/bionetgen/bng-mac (the main executable for BNG)
Perl version: 5.30.3 (used to run BNG2.pl)
CLI version: 0 7 2 alpha 0
pyBNG path: /Users/faeder/opt/anaconda3/envs/py39/lib/python3.9/site-packages/bionetgen (the PyBNG installation)

The following libraries are required by PyBioNetGen: 
numpy version: 1.22.3
pandas version: 1.3.4
libRoadRunner version: 2.2.0

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

No branches or pull requests

2 participants