# HG changeset patch
# User proteore
# Date 1522758285 14400
# Node ID 878128362e33b89d6c7296bf28c267e6d7858aff
# Parent be06c14e543da2d933179c5b71c3096f3af5a934
planemo upload commit 34edf9c3db61650a03d5a0d548b9697a94ecde34-dirty
diff -r be06c14e543d -r 878128362e33 README.rst
diff -r be06c14e543d -r 878128362e33 reactome_analysis.py
--- a/reactome_analysis.py Fri Mar 23 10:48:36 2018 -0400
+++ b/reactome_analysis.py Tue Apr 03 08:24:45 2018 -0400
@@ -23,8 +23,8 @@
"""
Check if an variable is numeric
"""
- float_format = re.compile("^[\-]?[1-9][0-9]*\.?[0-9]+$")
- int_format = re.compile("^[\-]?[1-9][0-9]*$")
+ float_format = re.compile(r"^[-]?[1-9][0-9]*.?[0-9]+$")
+ int_format = re.compile(r"^[-]?[1-9][0-9]*$")
test = ""
if format == "int":
test = re.match(int_format, n)
@@ -81,9 +81,11 @@
template.close()
output.close()
- trash_out = open(trash_file, "w")
- trash_out.write("\n".join(trash))
- trash_out.close()
+ if trash:
+ print(trash)
+ trash_out = open(trash_file, "w")
+ trash_out.write("\n".join(trash))
+ trash_out.close()
def options():
parser = argparse.ArgumentParser()
diff -r be06c14e543d -r 878128362e33 reactome_analysis.xml
--- a/reactome_analysis.xml Fri Mar 23 10:48:36 2018 -0400
+++ b/reactome_analysis.xml Tue Apr 03 08:24:45 2018 -0400
@@ -21,7 +21,16 @@
-
+
+
+
+
+
+
+
+
+
+
@@ -33,7 +42,9 @@
-
+
+
+
@@ -44,7 +55,7 @@
-
+