[Bio] / Sprout / Sprout.pm Repository:
ViewVC logotype

Diff of /Sprout/Sprout.pm

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

revision 1.65, Sun Jun 18 07:20:33 2006 UTC revision 1.68, Sun Jun 18 08:51:59 2006 UTC
# Line 836  Line 836 
836    
837  =over 4  =over 4
838    
839  =genomeID  =item genomeID
840    
841  ID of the genome whose feature count is desired.  ID of the genome whose feature count is desired.
842    
# Line 899  Line 899 
899      # Loop through the annotations.      # Loop through the annotations.
900      while (my $data = $query->Fetch) {      while (my $data = $query->Fetch) {
901          # Get the feature ID and annotation text.          # Get the feature ID and annotation text.
902          my ($fid, $annotation) = $data->Values(['HasFeature(from-link)',          my ($fid, $annotation) = $data->Values(['HasFeature(to-link)',
903                                                  'Annotation(annotation)']);                                                  'Annotation(annotation)']);
904          # Check to see if this is an assignment. Note that the user really          # Check to see if this is an assignment. Note that the user really
905          # doesn't matter to us, other than we use it to determine whether or          # doesn't matter to us, other than we use it to determine whether or
906          # not this is an assignment.          # not this is an assignment.
907          my ($user, $assignment) = $self->_ParseAssignment('fig', $annotation);          my ($user, $assignment) = _ParseAssignment('fig', $annotation);
908          if ($user) {          if ($user) {
909              # Here it's an assignment. We put it in the return hash, overwriting              # Here it's an assignment. We put it in the return hash, overwriting
910              # any older assignment that might be present.              # any older assignment that might be present.

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.68

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3