[Bioperl-l] (no subject)

Sendu Bala bix at sendu.me.uk
Sat Jan 6 13:25:56 UTC 2007


Chris Fields wrote:
> Looks like there are a few ways to go about doing that, actually.   
> According to Search::Result::ResultI POD, no_hits_found() is supposed  
> to work like:
> 
> if( $result->no_hits_found() ) { # do something

That is the method that should be used. no_hits_found can be false even 
when num_hits returns 0 thanks to certain options you might have 
supplied to filter out hits.



More information about the Bioperl-l mailing list