Skip to content

Commit

Permalink
More testing xpp
Browse files Browse the repository at this point in the history
  • Loading branch information
pgleeson committed Dec 5, 2023
1 parent ab47e61 commit 95d4374
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion omv/engines/getxpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def install_xpp(version='latest'):
raise Exception('Can currently only install the latest XPP tarball')

inform("Installing XPP", indent=2, verbosity=1)
xppinstallpath = os.path.join(os.environ["HOME"], "xpp")
xppinstallpath = os.path.join(os.environ["HOME"], "xpp/xppaut")

inform(
"Installing XPP to: %s" % (xppinstallpath),
Expand Down
7 changes: 7 additions & 0 deletions utilities/tests/.test.xpp.mep
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
system: Test XPP

experiments:
spikes:
expected:
spike times: [32.25, 60.400002, 156.60001, 256.45001, 356.10001, 455.79999]

15 changes: 15 additions & 0 deletions utilities/tests/.test.xpp.omt
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
target: nca.ode
engine: XPP

mep: .test.xpp.mep
experiments:
spikes:
observables:
spike times:
file:
path: output.dat
columns: [0,1]
scaling: [1, 1]
spike detection:
method: threshold
threshold: 0
tolerance: 0.00

0 comments on commit 95d4374

Please sign in to comment.