aboutsummaryrefslogtreecommitdiff
path: root/web/webqtl/base/header.py
diff options
context:
space:
mode:
authorroot2012-05-08 18:39:56 -0500
committerroot2012-05-08 18:39:56 -0500
commitea46f42ee640928b92947bfb204c41a482d80937 (patch)
tree9b27a4eb852d12539b543c3efee9d2a47ef470f3 /web/webqtl/base/header.py
parent056b5253fc3857b0444382aa39944f6344dc1ceb (diff)
downloadgenenetwork2-ea46f42ee640928b92947bfb204c41a482d80937.tar.gz
Add all the source codes into the github.
Diffstat (limited to 'web/webqtl/base/header.py')
-rwxr-xr-xweb/webqtl/base/header.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/webqtl/base/header.py b/web/webqtl/base/header.py
new file mode 100755
index 00000000..b6136b51
--- /dev/null
+++ b/web/webqtl/base/header.py
@@ -0,0 +1,6 @@
+import webqtlConfig
+
+header_string = open(webqtlConfig.HTMLPATH + 'header.html', 'r').read()
+header_string = header_string.replace("\\'", "'")
+header_string = header_string.replace('%"','%%"')
+header_string = header_string.replace('<!-- %s -->', '%s') \ No newline at end of file