From 94d7c869d644bf53ebdb24f37702bcc17c5f1803 Mon Sep 17 00:00:00 2001 From: Brian Osborne Date: Thu, 24 Nov 2016 20:58:08 -0500 Subject: [PATCH] Fixes from 'qifei9' --- MYMETA.json | 2 +- lib/Bio/Tools/Run/Phylo/Phyml.pm | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/MYMETA.json b/MYMETA.json index d34a032..3821711 100644 --- a/MYMETA.json +++ b/MYMETA.json @@ -4,7 +4,7 @@ "BioPerl Team " ], "dynamic_config" : 0, - "generated_by" : "Module::Build version 0.4206", + "generated_by" : "Module::Build version 0.4003, CPAN::Meta::Converter version 2.132830", "license" : [ "perl_5" ], diff --git a/lib/Bio/Tools/Run/Phylo/Phyml.pm b/lib/Bio/Tools/Run/Phylo/Phyml.pm index cfa38e6..0ec7a9e 100644 --- a/lib/Bio/Tools/Run/Phylo/Phyml.pm +++ b/lib/Bio/Tools/Run/Phylo/Phyml.pm @@ -821,7 +821,7 @@ sub rand_start { $self->{_rand_start} = 0; } } - return $self->{_rand_start} || 0; + return $self->{_rand_start}; } =head2 rand_starts @@ -878,7 +878,7 @@ sub rand_seed { Title : no_memory_check Usage : $factory->no_memory_check(1); - Function: + Function: Returns : boolean (defaults to false) Args : None to get, integer to set. @@ -904,7 +904,7 @@ sub no_memory_check { Title : bootstrap Usage : $factory->bootstrap(100); Function: Set number of bootstraps - Returns : + Returns : Args : None to get, integer to set. =cut @@ -924,9 +924,9 @@ sub bootstrap { Title : command Usage : $factory->command(...); - Function: + Function: Returns : string - Args : None to get, integer to set. + Args : None to get, integer to set. =cut @@ -1095,10 +1095,10 @@ sub _write_phylip_align_file { my $tempfile = File::Spec->catfile( $self->tempdir, "aln$$.phylip" ); $self->data_format('i'); my $out = Bio::AlignIO->new( - '-file' => ">$tempfile", - '-format' => 'phylip', - '-interleaved' => 0, - '-longid' => 1 + -file => ">$tempfile", + -format => 'phylip', + -interleaved => 1, + -longid => 1 ); $out->write_aln($align); $out->close(); -- 2.11.4.GIT