#!/usr/bin/perl -w

use iPE::Instance;
use iPE::Globals;
use File::Basename;
use strict;

my $g = new iPE::Globals();
print STDERR $g->greeting();

my $usage = "Usage: ".fileparse($0)." instance-file

iParameterEstimation gets all command line-type options from an XML file
called the instance file.  For more details, see the user guide that came
with this package, or http://mblab.wustl.edu/software/iparameterestimation.

";
(scalar(@ARGV) > 0) || die $usage; 

my $instance = new iPE::Instance();
$instance->parse_file($ARGV[0], "iPE_instance");
$instance->run;
