Skip to content

Commit

Permalink
fix flake8 E721 misc.py 159:8
Browse files Browse the repository at this point in the history
  • Loading branch information
adRn-s committed Feb 15, 2024
1 parent 33c433a commit f5e8cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dissectBCL/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def hamming(s1, s2):
# We have some basket cases (multimodal)
# Where barcode is nan (type as float)
# Ignore these for now.
if type(s1) == float or type(s2) == float:
if isinstance(s1, float) or isinstance(s2, float):
return 0
if s1 is None or s2 is None:
return 0
Expand Down

0 comments on commit f5e8cd0

Please sign in to comment.