Skip to content

Commit

Permalink
Update to use jnml v0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pgleeson committed Sep 22, 2023
1 parent 5622a75 commit 97f54cc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nC.bat
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ set NC_MAX_MEMORY=500M

set NC_VERSION=1.7.4

set JNEUROML_VERSION=0.12.4
set JNEUROML_VERSION=0.13.0

REM -----------------------------
REM Should no longer be changed. **Very old version** of lems/nml libs...
Expand Down
2 changes: 1 addition & 1 deletion nCenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export NC_MAX_MEMORY=450M
# Current version of neuroConstruct
export NC_VERSION=1.7.4

export JNEUROML_VERSION=0.12.4
export JNEUROML_VERSION=0.13.0

#########
# These are for **very old versions** of NML2/LEMS libraries...
Expand Down
2 changes: 1 addition & 1 deletion nbproj/nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<property name="project.dir">..</property>
<property name="ant.script">${project.dir}/build.xml</property>
<property name="nC.version">1.7.4</property>
<property name="jneuroml.version">0.12.4</property>
<property name="jneuroml.version">0.13.0</property>
</properties>
<folders>
<source-folder>
Expand Down
10 changes: 9 additions & 1 deletion src/ucl/physiol/neuroconstruct/neuroml/NeuroMLConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,19 @@ public String toString()
{
return "2.3";
}
},
NEUROML_VERSION_2_3_1
{
@Override
public String toString()
{
return "2.3.1";
}
};

public static NeuroMLVersion getLatestVersion()
{
return NEUROML_VERSION_2_3;
return NEUROML_VERSION_2_3_1;
}

public boolean isVersion2()
Expand Down

0 comments on commit 97f54cc

Please sign in to comment.