[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.28, Wed Apr 19 03:34:15 2006 UTC revision 1.31, Sun Jun 25 07:34:46 2006 UTC
# Line 214  Line 214 
214    
215  Loads B<Genome>, B<HasContig>, B<Contig>, B<IsMadeUpOf>, and B<Sequence>.  Loads B<Genome>, B<HasContig>, B<Contig>, B<IsMadeUpOf>, and B<Sequence>.
216    
 =item Coupling  
   
 Loads B<Coupling>, B<IsEvidencedBy>, B<PCH>, B<ParticipatesInCoupling>,  
 B<UsesAsEvidence>.  
   
217  =item Feature  =item Feature
218    
219  Loads B<Feature>, B<FeatureAlias>, B<FeatureTranslation>, B<FeatureUpstream>,  Loads B<Feature>, B<FeatureAlias>, B<FeatureTranslation>, B<FeatureUpstream>,
220  B<IsLocatedIn>, B<FeatureLink>.  B<IsLocatedIn>, B<FeatureLink>.
221    
222    =item Coupling
223    
224    Loads B<Coupling>, B<IsEvidencedBy>, B<PCH>, B<ParticipatesInCoupling>,
225    B<UsesAsEvidence>.
226    
227  =item Subsystem  =item Subsystem
228    
229  Loads B<Subsystem>, B<Role>, B<SSCell>, B<ContainsFeature>, B<IsGenomeOf>,  Loads B<Subsystem>, B<Role>, B<SSCell>, B<ContainsFeature>, B<IsGenomeOf>,
# Line 262  Line 262 
262  Loads B<ReactionURL>, B<Compound>, B<CompoundName>,  Loads B<ReactionURL>, B<Compound>, B<CompoundName>,
263  B<CompoundCAS>, B<IsAComponentOf>, B<Reaction>.  B<CompoundCAS>, B<IsAComponentOf>, B<Reaction>.
264    
265    =item Synonym
266    
267    Loads B<SynonymGroup> and B<IsSynonymGroupFor>.
268    
269  =item *  =item *
270    
271  Loads all of the above tables.  Loads all of the above tables.
# Line 382  Line 386 
386      my $stats;      my $stats;
387      if ($group eq 'Genome' || $group eq '*') {      if ($group eq 'Genome' || $group eq '*') {
388          $spl->LoadGenomeData();          $spl->LoadGenomeData();
389          $group = ResumeCheck($resume);          $group = ResumeCheck($resume, $group);
390      }      }
391      if ($group eq 'Feature' || $group eq '*') {      if ($group eq 'Feature' || $group eq '*') {
392          $spl->LoadFeatureData();          $spl->LoadFeatureData();
393          $group = ResumeCheck($resume);          $group = ResumeCheck($resume, $group);
394      }      }
395      if ($group eq 'Coupling' || $group eq '*') {      if ($group eq 'Coupling' || $group eq '*') {
396          $spl->LoadCouplingData();          $spl->LoadCouplingData();
397          $group = ResumeCheck($resume);          $group = ResumeCheck($resume, $group);
398      }      }
399      if ($group eq 'Subsystem' || $group eq '*') {      if ($group eq 'Subsystem' || $group eq '*') {
400          $spl->LoadSubsystemData();          $spl->LoadSubsystemData();
401          $group = ResumeCheck($resume);          $group = ResumeCheck($resume, $group);
402      }      }
403      if ($group eq 'Property' || $group eq '*') {      if ($group eq 'Property' || $group eq '*') {
404          $spl->LoadPropertyData();          $spl->LoadPropertyData();
405          $group = ResumeCheck($resume);          $group = ResumeCheck($resume, $group);
406      }      }
407      if ($group eq 'Annotation' || $group eq '*') {      if ($group eq 'Annotation' || $group eq '*') {
408          $spl->LoadAnnotationData();          $spl->LoadAnnotationData();
409          $group = ResumeCheck($resume);          $group = ResumeCheck($resume, $group);
410      }      }
411      if ($group eq 'BBH' || $group eq '*') {      if ($group eq 'BBH' || $group eq '*') {
412          $spl->LoadBBHData();          $spl->LoadBBHData();
413          $group = ResumeCheck($resume);          $group = ResumeCheck($resume, $group);
414      }      }
415      if ($group eq 'Group' || $group eq '*') {      if ($group eq 'Group' || $group eq '*') {
416          $spl->LoadGroupData();          $spl->LoadGroupData();
417          $group = ResumeCheck($resume);          $group = ResumeCheck($resume, $group);
418      }      }
419      if ($group eq 'Source' || $group eq '*') {      if ($group eq 'Source' || $group eq '*') {
420          $spl->LoadSourceData();          $spl->LoadSourceData();
421          $group = ResumeCheck($resume);          $group = ResumeCheck($resume, $group);
422      }      }
423      if ($group eq 'External' || $group eq '*') {      if ($group eq 'External' || $group eq '*') {
424          $spl->LoadExternalData();          $spl->LoadExternalData();
425          $group = ResumeCheck($resume);          $group = ResumeCheck($resume, $group);
426      }      }
427      if ($group eq 'Reaction' || $group eq '*') {      if ($group eq 'Reaction' || $group eq '*') {
428          $spl->LoadReactionData();          $spl->LoadReactionData();
429          $group = ResumeCheck($resume);          $group = ResumeCheck($resume, $group);
430        }
431        if ($group eq 'Synonym' || $group eq '*') {
432            $spl->LoadSynonymData();
433            $group = ResumeCheck($resume, $group);
434      }      }
   
435  }  }
436  Trace("Load complete.") if T(2);  Trace("Load complete.") if T(2);
437    
438  # If the resume flag is set, return "*", else return "".  # If the resume flag is set, return "*", else return "".
439  sub ResumeCheck {  sub ResumeCheck {
440      my ($resume) = @_;      my ($resume, $group) = @_;
441      return ($resume ? "*" : "");      return ($resume ? "*" : $group);
442  }  }
443    
444  1;  1;

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.31

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3