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

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2012-08-28 16:59:24+12:00
Desc:
replacing CellML simulation metadata with CSim summary description; bubbling up membrane currents and potential to allow output/referencing via SED-ML.
Permanent Source URI:
http://models.cellml.org/w/andre/VPH-MIP/rawfile/a29bfba242e747b82657c6d2d782937d0a01be79/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");
}