aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2020-10-02 02:36:09 +0300
committerBonfaceKilz2020-10-02 02:36:09 +0300
commit5559aeca7989cfe0b454dff018eada6fb69a73a6 (patch)
tree6ebf9989fd704abcd1eb46f9d17979dfcd0fe2fb
parent5aee7c35ef27dbfa590dfd30364000840dd0006a (diff)
downloadgenenetwork2-5559aeca7989cfe0b454dff018eada6fb69a73a6.tar.gz
Replace is_integer with isinstance when checking for an int value
-rw-r--r--wqflask/wqflask/marker_regression/display_mapping_results.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py
index 5a7a4614..745b8e78 100644
--- a/wqflask/wqflask/marker_regression/display_mapping_results.py
+++ b/wqflask/wqflask/marker_regression/display_mapping_results.py
@@ -2157,7 +2157,7 @@ class DisplayMappingResults(object):
#ZS: Convert to int if all axis values are whole numbers
all_int = True
for item in LRSAxisList:
- if item.is_integer():
+ if isinstance(item, int):
continue
else:
all_int = False