Skip to content

Commit 3fa6562

Browse files
Bug fix: Fixed issue where cleanChromosome was never fired
Refer to AdamDS#5 for original pull request.
1 parent 3779801 commit 3fa6562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

biomine/variant/variant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def vcfLine2Variant( self , record , **kwargs ):
230230
self.stop = len( self.reference ) + self.start - 1
231231
def cleanChromosome( self ):
232232
''' Get the chromosome number in case chr or Chr is present'''
233-
if type( self.chromosome ) == "str":
233+
if type( self.chromosome ) is str:
234234
chrom = self.chromosome.lower()
235235
clean = chrom.replace( "chr" , "" )
236236
self.chromosome = clean.upper()

0 commit comments

Comments
 (0)