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

Diff of /FigKernelPackages/SeedV.pm

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

revision 1.4, Wed Aug 18 21:53:56 2010 UTC revision 1.5, Thu Aug 19 19:39:41 2010 UTC
# Line 470  Line 470 
470      my $newG    = $self->{_genome};      my $newG    = $self->{_genome};
471      my $newGdir = $self->{_orgdir};      my $newGdir = $self->{_orgdir};
472    
         my $contig_len = $self->{_contig_len_index};  
         $self->load_contigs_index();  
         if (tied(%$contig_len))  
         {  
             return $contig_len->{$contig};  
         }  
473          $self->load_contig_len_cache();          $self->load_contig_len_cache();
474          return $self->{_contig_len_cache}->{$contig};          return $self->{_contig_len_cache}->{$contig};
475  }  }
# Line 886  Line 880 
880    
881          $self->load_feature_indexes();          $self->load_feature_indexes();
882    
883          my $btree = $self->{_feat_btree}->{$ftype};          my $btree = exists($self->{_feat_btree}) ? $self->{_feat_btree}->{$ftype} : undef;
884          if ($btree)          if ($btree)
885          {          {
886              my($loc, $idx, @aliases) = split(/$;/, $btree->{$fid});              my($loc, $idx, @aliases) = split(/$;/, $btree->{$fid});

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3