From 19be450d2df6a1c2a7b647496278fbb5c6cf5524 Mon Sep 17 00:00:00 2001 From: Srinivas Gorur-Shandilya Date: Thu, 17 Nov 2022 11:19:15 -0500 Subject: [PATCH] added a check for global optim toolbox, updated links to other deps --- examples/demo_xfit.m | 5 +++++ kapalin.json | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/examples/demo_xfit.m b/examples/demo_xfit.m index 63c73991..7a861e96 100644 --- a/examples/demo_xfit.m +++ b/examples/demo_xfit.m @@ -2,6 +2,11 @@ % and optimize its maximal conductances so that it has a % desired period +if license('test', 'global_optimization_toolbox') == 0 + % can't do anything, we don't have the toolbox + return +end + % first, we create our xolotl object x = xolotl.examples.neurons.BurstingNeuron('prefix','prinz'); diff --git a/kapalin.json b/kapalin.json index 929d9e09..736c11ce 100644 --- a/kapalin.json +++ b/kapalin.json @@ -12,9 +12,9 @@ "external_code": [ "/Users/srinivas/code/cpplab/@cpplab", "/Users/srinivas/code/puppeteer/@puppeteer", - "/Users/srinivas/code/srinivas.gs_mtools/+*", - "/Users/srinivas/code/srinivas.gs_mtools/@*", - "/Users/srinivas/code/srinivas.gs_mtools/*.m" + "/Users/srinivas/code/srinivas.gs_mtools/src/+*", + "/Users/srinivas/code/srinivas.gs_mtools/src/@*", + "/Users/srinivas/code/srinivas.gs_mtools/src/*.m" ] }