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

Diff of /Sprout/LoadSproutTables.pl

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

revision 1.16, Thu Dec 8 17:56:19 2005 UTC revision 1.17, Fri Jan 13 06:59:49 2006 UTC
# Line 82  Line 82 
82    
83  =item 2  =item 2
84    
85  Type C<TestSproutLoad> and press ENTER. This will validate the Sprout database  Type C<TestSproutLoad 100226.1 83333.1> and press ENTER. This will validate
86  against the SEED data.  the Sprout database against the SEED data.
87    
88  =item 3  =item 3
89    
# Line 184  Line 184 
184    
185  Desired tracing level. The default is 3.  Desired tracing level. The default is 3.
186    
 =item limitedFeatures  
   
 Only generate the B<Feature> and B<IsLocatedIn> tables when processing the feature group.  
   
187  =item dbLoad  =item dbLoad
188    
189  If TRUE, the database tables will be loaded automatically from the load files created.  If TRUE, the database tables will be loaded automatically from the load files created.
# Line 197  Line 193 
193  If TRUE, the database will be created. If the database exists already, it will be  If TRUE, the database will be created. If the database exists already, it will be
194  dropped. Use the function with caution.  dropped. Use the function with caution.
195    
196    =item loadOnly
197    
198    If TRUE, the database tables will be loaded from existing load files. Load files
199    will not be created. This option is useful if you are setting up a copy of Sprout
200    and have load files already set up from the original version.
201    
202  =back  =back
203    
204  =cut  =cut
# Line 214  Line 216 
216  use SFXlate;  use SFXlate;
217    
218  # Get the command-line parameters and options.  # Get the command-line parameters and options.
219  my ($options, @parameters) = Tracer::ParseCommand({ geneFile => "", subsysFile => "",  my ($options, @parameters) = StandardSetup(['SproutLoad', 'ERDBLoad', 'Stats',
220                                                      trace => 3, limitedFeatures => 0,                                              'ERDB', 'Load'],
221                                                      dbLoad => 0, dbCreate => 0 }, @ARGV);                                              { geneFile => "", subsysFile => "",
222  # Set up tracing.                                                dbLoad => 0, dbCreate => 0,
223  TSetup("$options->{trace} SproutLoad ERDBLoad ERDB Stats Tracer Load", "+>$FIG_Config::temp/trace.log");                                                loadOnly => 0 },
224                                                @ARGV);
225    # If we're doing a load-only, turn on loading.
226    if ($options->{loadOnly}) {
227        $options->{dbLoad} = 1
228    }
229  if ($options->{dbCreate}) {  if ($options->{dbCreate}) {
230      # Here we want to drop and re-create the database.      # Here we want to drop and re-create the database.
231      my $db = $FIG_Config::sproutDB;      my $db = $FIG_Config::sproutDB;

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3