Location: VPH-MIP case study on CellML @ 1c1b86d99e35 / experiments / runAll.pl

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2012-09-25 15:44:47+12:00
Desc:
adding a top-level HTML index page to use with the exposure
Permanent Source URI:
http://models.cellml.org/w/andre/VPH-MIP/rawfile/1c1b86d99e354143412d753df2ed80d9e92dcaf2/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");
}