[Bio] / Sprout / SapServerTest4.pl Repository:
ViewVC logotype

View of /Sprout/SapServerTest4.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (download) (as text) (annotate)
Tue Feb 14 19:20:31 2012 UTC (7 years, 7 months ago) by parrello
Branch: MAIN
CVS Tags: mgrast_version_3_2
Changes since 1.5: +2 -1 lines
Checkpoint before field-name changes.

### Test program for Ross's project.

use strict;
use SeedEnv;
use Tracer;
use Sapling;
use ALITREserver;

    my ($sap, $sapObject, $altObject);
    if ($ENV{SAS_SERVER} eq 'localhost') {
        $sap = Sapling->new(dbName => 'pubseed_sapling_10', dbhost => 'localhost', port => 3333);
#        $sap = Sapling->new(dbName => 'pseed_sapling_07', dbhost => 'localhost', port => 3333);
        $sapObject = SAPserver->new(sapDB => $sap, url => 'localhost');
        $altObject = ALITREserver->new(sapDB => $sap, url => 'localhost');
        $FIG_Config::orgCache = "P:/vol/public-pseed/SharedData/OrgCache";
        $FIG_Config::attrHost = "localhost";
        $FIG_Config::attrPort = 3333;
    } else {
        $sapObject = SAPserver->new();
#        $altObject = ALITREserver->new();
    }
    my $start = time;
    my $result = $sapObject->ids_in_subsystems(-genome => '83333.1',
            -subsystems => 'TCA_Cycle', -roleForm => 'full');
    my $duration = time - $start;
    print "$duration seconds\n";
1;

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3