diff --git a/misc-scripts/xref_mapping/XrefMapper/TestMappings.pm b/misc-scripts/xref_mapping/XrefMapper/TestMappings.pm index 23c80f4e649ff84aa5d3dcd88bc60749b6686fa2..5184f07b0abaa85f2eec21410f3383d91db1a463 100644 --- a/misc-scripts/xref_mapping/XrefMapper/TestMappings.pm +++ b/misc-scripts/xref_mapping/XrefMapper/TestMappings.pm @@ -330,10 +330,10 @@ sub entry_number_check{ if(defined($new_object_xref_count{$name})){ $change = (($new_object_xref_count{$name} - $count)/$count) * 100; if($change > 5){ # increase of 5% - print "WARNING: $name has increased by ".floor($change)."\% was $count now ". $new_object_xref_count{$name} . "\n" if($self->mapper->verbose); + print "WARNING: $name has increased by ".int($change)."\% was $count now ". $new_object_xref_count{$name} . "\n" if($self->mapper->verbose); } elsif($change < -5){ # decrease by 5% - print "WARNING: $name has decreased by ".floor($change)." \% was $count now ". $new_object_xref_count{$name} . "\n" if($self->mapper->verbose); + print "WARNING: $name has decreased by ".int($change)." \% was $count now ". $new_object_xref_count{$name} . "\n" if($self->mapper->verbose); } } else{