aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/helper_functions.py
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-26 17:36:23 +0300
committerBonfaceKilz2020-08-26 17:36:23 +0300
commit133db0e8dbc5a0812dc1f06402f2b788aecaef20 (patch)
tree7507b1c0867fd1c62b4b362ceb09192833698bb3 /wqflask/utility/helper_functions.py
parent6486bc57651f074245ae0bf786f9e92460d73fef (diff)
downloadgenenetwork2-133db0e8dbc5a0812dc1f06402f2b788aecaef20.tar.gz
Replace calls to "basestring with "str""
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-basestring>
Diffstat (limited to 'wqflask/utility/helper_functions.py')
-rw-r--r--wqflask/utility/helper_functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/utility/helper_functions.py b/wqflask/utility/helper_functions.py
index 9a4a235a..107c9ec6 100644
--- a/wqflask/utility/helper_functions.py
+++ b/wqflask/utility/helper_functions.py
@@ -34,7 +34,7 @@ def get_species_dataset_trait(self, start_vars):
#self.genotype = self.dataset.group.genotype
def get_trait_db_obs(self, trait_db_list):
- if isinstance(trait_db_list, basestring):
+ if isinstance(trait_db_list, str):
trait_db_list = trait_db_list.split(",")
self.trait_list = []