[Bioperl-l] No "new" method in Bio::Tool::Run::AnalysisFactor::Pise?
bix at sendu.me.uk
Tue Oct 10 16:43:06 EDT 2006
zhihua li wrote:
> Hi netters.
> I've installed Bioperl 1.5.1, both core and run modules. But when I
> tried to use the Pise module, an error occured saying that there's no
> "new" method in this package.
> My script is:
> use strict;
> use warnings;
> use Bio::Tools::Run::AnalysisFactory::Pise;
> my $factory = Bio::Tools::Run::AnalysisFactor::Pise->new();
> my $program=$factory->program('mfold');
> my $job = $program->run();
> print STDERR $job->contect('mfold.out');
> The error message I got is:
> Can't locate object method "new" via package
> "Bio::Tools::Run::AnalysisFactor::Pise" (perhaps you forgot to load
> I checked the module file at ..../Bio/Tools/Run/AnalysisFactor/Pise.pm
> and it DOES contain a sub new.
> So what's going on? Anyone could give me a hint?
You have a typo.
More information about the Bioperl-l