diff --git a/HotSpot3D-1.8.0.2.tar.gz b/HotSpot3D-1.8.0.2.tar.gz new file mode 100644 index 0000000..d538c16 Binary files /dev/null and b/HotSpot3D-1.8.0.2.tar.gz differ diff --git a/bin/hotspot3d b/bin/hotspot3d index ec280bd..11917ba 100755 --- a/bin/hotspot3d +++ b/bin/hotspot3d @@ -2,13 +2,13 @@ #---------------------------------- # $Authors: Beifang Niu & Adam D Scott # $Date: 2013-08-08 13:22:08 -0500 (Thu Aug 8 13:22:08 CDT 2013) $ -# $Revision: 1.8.0.1 $ +# $Revision: 1.8.0.2 $ # $URL: $ #---------------------------------- use strict; use warnings; -our $VERSION = 'V1.8.0.1'; +our $VERSION = 'V1.8.0.2'; use Carp; use FileHandle; diff --git a/dist.ini b/dist.ini index 880222f..a06ec53 100644 --- a/dist.ini +++ b/dist.ini @@ -1,6 +1,6 @@ name = HotSpot3D author = Beifang Niu, John Wallis, Adam D Scott, Sohini Sengupta, Amila Weerasinghe, & Matthew H Bailey from McDonnell Genome Institute of Washington University at St. Louis -version = 1.8.0.1 +version = 1.8.0.2 license = Perl_5 copyright_holder = McDonnell Genome Institute at Washington University copyright_year = 2017 diff --git a/lib/TGI/Mutpro/Main/Network.pm b/lib/TGI/Mutpro/Main/Network.pm index 3b17be6..8144ebf 100644 --- a/lib/TGI/Mutpro/Main/Network.pm +++ b/lib/TGI/Mutpro/Main/Network.pm @@ -349,14 +349,8 @@ sub determineCentroid { if ( not $currentScore ) { return ( $mutationKey , $newScore ); } - if ( $this->{'vertex_score'} eq $EXPONENTIALS ) { - if ( abs( $newScore ) > abs( $currentScore ) ) { - return ( $mutationKey , $newScore ); - } - } else { - if ( $newScore > $currentScore ) { - return ( $mutationKey , $newScore ); - } + if ( abs( $newScore ) > abs( $currentScore ) ) { + return ( $mutationKey , $newScore ); } return ( $currentCentroid , $currentScore ); }