aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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