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

Diff of /FigKernelPackages/FIG.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.735, Wed Nov 12 18:22:42 2008 UTC revision 1.736, Thu Nov 13 21:49:33 2008 UTC
# Line 22403  Line 22403 
22403    
22404      FIG->scenario_directory($organism);      FIG->scenario_directory($organism);
22405    
22406  Returns the scenario directory of an organism.  Returns the scenario directory of an organism.  If the organism is 'All', returns
22407    the directory containing all possible paths through scenarios.
22408    
22409  =over 4  =over 4
22410    
22411  =item $organism  =item $organism
22412    
22413  The seed-taxonomy id of the organism, e.g. 83333.1.  The seed-taxonomy id of the organism, e.g. 83333.1, or 'All'.
22414    
22415  =back  =back
22416    
# Line 22418  Line 22419 
22419  sub scenario_directory {  sub scenario_directory {
22420    my ($self, $organism) = @_;    my ($self, $organism) = @_;
22421    
22422    my $directory = "$FIG_Config::organisms";    if ($organism eq 'All') {
22423          return "$FIG_Config::global/Models/All/Scenarios";
22424    $directory .= "/$organism/Scenarios";    }
22425      else {
22426    return $directory;        return "$FIG_Config::organisms/$organism/Scenarios";
22427      }
22428  }  }
22429    
22430  ########################################################  ########################################################

Legend:
Removed from v.1.735  
changed lines
  Added in v.1.736

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3