Skip to content

Commit eae718b

Browse files
author
Helyaneh Ziaei-jam
committed
mini updates
1 parent bfcbc58 commit eae718b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ensembletr/recordcluster.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ def GetScore(self, sample):
129129
"""
130130
samp_idx = self.vcf_samples.index(sample)
131131
if self.vcf_type == trh.VcfTypes.advntr:
132-
return min(self.cyvcf2_record.format('ML')[samp_idx][0],1)
132+
return min(self.cyvcf2_record.format('ML')[samp_idx][0], 1)
133133
elif self.vcf_type in [trh.VcfTypes.hipstr, trh.VcfTypes.gangstr]:
134-
return min(self.cyvcf2_record.format('Q')[samp_idx][0],1) # Sometimes GangSTR Q is slightly more than 1
134+
return min(self.cyvcf2_record.format('Q')[samp_idx][0], 1) # Sometimes GangSTR Q is slightly more than 1
135135
elif self.vcf_type == trh.VcfTypes.eh:
136136
REPCI = self.cyvcf2_record.format('REPCI')[samp_idx]
137137
REPCN = self.cyvcf2_record.format('REPCN')[samp_idx]

0 commit comments

Comments
 (0)