Difference between revisions of "Design Specs: Evidence Handling"

From WormBaseWiki
Jump to navigationJump to search
Line 1: Line 1:
 
=API=  
 
=API=  
  
  by calling the _get_evidence($node,$type) subroutine in lib/API/Object.pm
+
by calling the _get_evidence($node,$type) subroutine in lib/API/Object.pm
  returns a hash reference containing all the types of evidences to the right of the node
+
 
  argument $type is optional, if specified, only this type of evidence is retrieved.
+
returns a hash reference containing all the types of evidences to the right of the node
 +
 +
argument $type is optional, if specified, only this type of evidence is retrieved.
 
   
 
   
 
   e.g. in lib/API/Object/Gene.pm
 
   e.g. in lib/API/Object/Gene.pm
 
  
 
=Template=
 
=Template=

Revision as of 20:37, 3 January 2012

API

by calling the _get_evidence($node,$type) subroutine in lib/API/Object.pm

returns a hash reference containing all the types of evidences to the right of the node

argument $type is optional, if specified, only this type of evidence is retrieved.

 e.g. in lib/API/Object/Gene.pm

Template