diff --git a/stringMLST.py b/stringMLST.py index 46e2cd0..312da69 100755 --- a/stringMLST.py +++ b/stringMLST.py @@ -331,7 +331,7 @@ def getMaxCount(alleleCount, fileName): secondSupport[loc] = {} num_max = [] num_max2 = [] - compare = int(re.sub("\*$", "", str(max_n[loc]))) + compare = float(re.sub("\*$", "", str(max_n[loc]))) for num in alleleCount[loc]: if alleleCount[loc][num] == compare: if "\*" in str(max_n[loc]):