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

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2012-09-26 15:21:03+12:00
Desc:
renaming the tutorial web page to work around a bug in making PMR2 exposures with files named index.html
Permanent Source URI:
http://models.cellml.org/w/andre/VPH-MIP/rawfile/eeb193d348e735266eae6b9948908adc88bc4c00/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");
}