nest / nestml

A domain specific language for neuron and synapse models in spiking neural network simulation
GNU General Public License v2.0
46 stars 45 forks source link

Modify NEST version detection #924

Closed pnbabu closed 1 year ago

pnbabu commented 1 year ago

921 should be merged before this.

clinssen commented 1 year ago

Versions for older NEST releases (<3.5) seem to come out as git strings, e.g. for 3.1:

[23,GLOBAL, INFO]: The NEST Simulator version was automatically detected as: vHEAD@512022e

I don't know why the tests are all passing. The version check in the Jinja templates needs something of the form "v3.1". We could just leave the older version detection as-is and add a new option for everything 3.5 and following.