Location: Andre's Hodgkin Huxley model @ 930166f28bc3 / experiments / runAll.pl

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2012-09-26 16:19:50+12:00
Desc:
fixing up references to the tutorial to match what the exposure on the live site wants to used.
Permanent Source URI:
https://models.cellml.org/w/andre/HH/rawfile/930166f28bc386e6ad7611a3a8ee5ffd5a3490df/experiments/runAll.pl

#!/usr/bin/perl

use strict;

my $exe = "$ENV{HOME}/sf.net/CellMLSimulator/build/release/CellMLSimulator";
my $output = "generated";

mkdir $output;

my @experiments = ("IK-gating-kinetics","INa-gating-kinetics",
                   "periodic-stimulus","voltage-clamp");

foreach my $exp (@experiments) {
  my $o = $output . "/" . $exp;
  my $g = $exp . "-graphs.xml";
  mkdir $o;
  system("$exe --graph-directory=$o --reference-description --data=$o/data.h5 $g");
}