[Bio] / FigKernelPackages / FBAMODELserver.pm Repository:
ViewVC logotype

View of /FigKernelPackages/FBAMODELserver.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (download) (as text) (annotate)
Mon Aug 29 21:10:40 2011 UTC (8 years, 7 months ago) by chenry
Branch: MAIN
CVS Tags: rast_rel_2014_0912, rast_rel_2014_0729, mgrast_release_3_1_2, rast_rel_2011_0928, mgrast_version_3_2, mgrast_dev_12152011, mgrast_dev_10262011, HEAD
Changes since 1.4: +5 -3 lines
Moving FBAMODELserver.pm to FigKernelPackages, and changing URL.

#
# This is a SAS Component
#

package FBAMODELserver;

use strict;
use base qw(ClientThing);

sub new {
    my($class, @options) = @_;
    my %options = ClientThing::FixOptions(@options);
	if (!defined($options{url})) {
		#Currently, the model server is found in only one location
		$options{url} = "http://pubseed.theseed.org/model-prod/FBAMODEL_server.cgi";
		#$options{url} = ClientThing::ComputeURL($options{url}, 'FBAMODEL_server.cgi', 'model-prod');
	}
    #$options{url} =~ s/\/server\.cgi$/\/FBAMODEL_server.cgi/; # switch /server.cgi to /FBAMODEL_server.cgi
    return $class->SUPER::new("ModelSEED::FBAMODEL" => %options);
}

1;

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3