Location: Andre's Hodgkin Huxley model @ 957c2190e1ee / experiments / runAll.pl

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2015-05-25 08:31:46+12:00
Desc:
adding a SED-ML document which does nested repeated tasks to iterate over clamp potential and temperature; doesn't work with get-sed-ml-client
Permanent Source URI:
https://models.physiomeproject.org/w/andre/HH/rawfile/957c2190e1eed47d7634613250bc274dc836b826/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");
}