You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: rule modifiers, Python 3.12 compat, CI overhaul, NFsim version
Fixes#55 — get_rule_mod() had three bugs in xmlparsers.py:
- TotalRate never detected: string "1" compared to int 1 (always False)
- DeleteMolecules: KeyError if @DeleteMolecules attribute absent on any op
- MoveConnected list branch: appended from move_op[...] instead of mo[...]
Fixes#57 — NFsim version now detected and reported in --version/info
commands via PATH lookup with fallback to BNG2.pl-adjacent bin/.
Fixes#58, #61 — Remove distutils usage throughout:
- distutils.spawn → shutil.which in utils.py
- distutils.ccompiler → setuptools._distutils with distutils fallback
- setup.py: add python_requires>=3.8, promote missing deps to install_requires
- ci.yml: replace deprecated setup.py install/sdist/bdist_wheel with pip
Fixes#60 — Add release-test.yml workflow that installs from PyPI and
runs smoke tests + pytest on every published release across all platforms.
Fixes#21 — Add test_action_parsing.py covering pyparsing rejection of
malformed actions (unclosed braces).
Also adds bionetgen/__main__.py to support python -m bionetgen invocation,
and tests/test_rule_modifiers.py with full coverage of the three get_rule_mod
bug fixes.
0 commit comments