[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.545, Tue Nov 28 17:00:05 2006 UTC revision 1.546, Wed Nov 29 20:45:06 2006 UTC
# Line 242  Line 242 
242      return bless $self, $class;      return bless $self, $class;
243  }  }
244    
245    =head3 go_number_to_term
246    
247    Returns GO term for GO number from go_number_to_term table in database
248    
249    =cut
250    
251    sub go_number_to_term {
252        my($self,$id) = @_;
253        my $rdbH = $self->db_handle;
254        my $relational_db_response = $rdbH->SQL("SELECT term FROM go_number_to_term where id = \'$id\'");
255        return (@$relational_db_response == 1) ? $relational_db_response->[0]->[0] : "";
256        return "";
257    }
258    
259  =head3 db_handle  =head3 db_handle
260    

Legend:
Removed from v.1.545  
changed lines
  Added in v.1.546

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3