aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-19 03:08:08 +0300
committerBonfaceKilz2020-08-19 03:08:08 +0300
commitcaec08fa1e738fa9bc1b0b6bf626d8325f798712 (patch)
tree8c11025bdcf0048cad150f05d0e1a38295803cd9
parente63331da5ed0a11f2a558d799dd570bf44ad584e (diff)
downloadgenenetwork2-caec08fa1e738fa9bc1b0b6bf626d8325f798712.tar.gz
Convert the old not-equal syntax, <>, to !=
Run `2to3-3.8 -f ne -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-ne>
-rw-r--r--wqflask/utility/svg.py2
-rw-r--r--wqflask/wqflask/marker_regression/plink_mapping.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/utility/svg.py b/wqflask/utility/svg.py
index c6a5c260..c7356e57 100644
--- a/wqflask/utility/svg.py
+++ b/wqflask/utility/svg.py
@@ -360,7 +360,7 @@ class tspan(SVGelement):
def __init__(self, text=None, **args):
SVGelement.__init__(self, 'tspan', **args)
- if self.text <> None:
+ if self.text != None:
self.text = text
def __repr__(self):
diff --git a/wqflask/wqflask/marker_regression/plink_mapping.py b/wqflask/wqflask/marker_regression/plink_mapping.py
index 38ef7190..d4ee6fe6 100644
--- a/wqflask/wqflask/marker_regression/plink_mapping.py
+++ b/wqflask/wqflask/marker_regression/plink_mapping.py
@@ -156,7 +156,7 @@ def parse_plink_output(output_filename, species):
#######################################################
def build_line_list(line=None):
line_list = string.split(string.strip(line),' ')# irregular number of whitespaces between columns
- line_list = [item for item in line_list if item <>'']
+ line_list = [item for item in line_list if item !='']
line_list = list(map(string.strip, line_list))
return line_list \ No newline at end of file