aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-19 03:01:33 +0300
committerBonfaceKilz2020-08-19 03:01:33 +0300
commite63331da5ed0a11f2a558d799dd570bf44ad584e (patch)
tree0828f16ac423a9f1ba3f903316cac17c7ab57db5 /wqflask/base
parente55b1502340cc99cd8a5d705261a5ff3c87f3718 (diff)
downloadgenenetwork2-e63331da5ed0a11f2a558d799dd570bf44ad584e.tar.gz
Replace `izip` with python's built-in equivalent
Run `2to3-3.8 -f itertools -w . && 2to3-3.8 -f itertools_imports -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-itertools_imports> and <https://docs.python.org/2/library/2to3.html#2to3fixer-itertools>
Diffstat (limited to 'wqflask/base')
-rw-r--r--wqflask/base/data_set.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index cfba9104..b0119b58 100644
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -259,7 +259,7 @@ class Markers(object):
# if len(self.markers) > len(p_values):
# self.markers = self.markers[:len(p_values)]
- for marker, p_value in itertools.izip(self.markers, p_values):
+ for marker, p_value in zip(self.markers, p_values):
if not p_value:
continue
marker['p_value'] = float(p_value)