Skip to content

Commit

Permalink
Merge pull request #417 from NeuroML/experimental
Browse files Browse the repository at this point in the history
To v1.3.7 & use  jnml v0.13.3
  • Loading branch information
pgleeson committed Aug 19, 2024
2 parents 2ea1d7c + 79eea48 commit 9f0c26f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyneuroml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
__version__ = importlib_metadata.version("pyNeuroML")


JNEUROML_VERSION = "0.13.2"
JNEUROML_VERSION = "0.13.3"

# Define a logger for the package
logging.basicConfig(
Expand Down
Binary file not shown.
Binary file not shown.
5 changes: 4 additions & 1 deletion pyneuroml/xppaut/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,13 @@ def substitute_functions(expr, functions):
def to_xpp(data, new_xpp_filename):
xpp_ode = ""

from pyneuroml import __version__
xpp_ode += "\n## XPP export from pyNeuroML v%s\n"%__version__

xpp_ode += "\n# Parameters\n"
for k, v in data["parameters"].items():
if k not in INBUILT.keys():
xpp_ode += f"par {k} = {v}\n"
xpp_ode += f"par {k}={v}\n"

xpp_ode += "\n# Functions\n"
for k, v in data["functions"].items():
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = pyNeuroML
version = 1.3.6
version = 1.3.7
author = Padraig Gleeson
author_email = [email protected]
url = https://github.com/NeuroML/pyNeuroML
Expand Down

0 comments on commit 9f0c26f

Please sign in to comment.