[Bioperl-l] Is term_count available for einfo (EUtilities)?

Chris Fields cjfields at illinois.edu
Sat Jun 5 10:51:20 UTC 2010


Most of these methods have changed to get_* methods (nothing is settable).  I'll go through and check them for consistency, just to make sure.

chris

On Jun 4, 2010, at 11:33 AM, Peng Yu wrote:

> Hi,
> 
> It seems that term_count is not available for einfo.
> 
> 
> $ ./main.pl
> Can't locate object method "term_count" via package
> "Bio::Tools::EUtilities::Info::FieldInfo" at ./main.pl line 13.
> $ vim ./main.pl
> pengy at pengy-desktop:/pearson/data/pengy/test/perl/library/Bio/Tools/EUtilities/Info/FieldInfo/term_count$
> cat ./main.pl
> 
> #!/usr/bin/env perl
> 
> use strict;
> use warnings;
> 
> use Bio::DB::EUtilities;
> 
> my $factory = Bio::DB::EUtilities->new(-eutil => 'einfo',
>                                       -email => 'mymail at foo.bar',
>                                       -db => 'pubmed');
> 
> while (my $field = $factory->next_FieldInfo) {
>    print "term_count: ",$field->term_count,"\n";
> }
> 
> 
> But the man page 'perldoc Bio::Tools::EUtilities::Info::FieldInfo'
> doesn't say so. Could you let me know where to find which methods are
> available for which eutilities?
> 
> 
> -- 
> Regards,
> Peng
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l





More information about the Bioperl-l mailing list