aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorMunyoki Kilyungi2022-09-02 12:19:09 +0300
committerBonfaceKilz2022-09-08 14:26:19 +0300
commitfb18e9136736070a29b14af6346d09aba53bfddd (patch)
tree9bb4b60f3fd0b7a195492a26c8b72450d13b835b /wqflask
parente3916e6403b8933d9d8896b7289321c45b9990d2 (diff)
downloadgenenetwork2-fb18e9136736070a29b14af6346d09aba53bfddd.tar.gz
Delete dead comment
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/scripts/profile_corrs.py4
-rw-r--r--wqflask/wqflask/marker_regression/display_mapping_results.py1
2 files changed, 0 insertions, 5 deletions
diff --git a/wqflask/scripts/profile_corrs.py b/wqflask/scripts/profile_corrs.py
index 7c43b8c7..1badeb70 100644
--- a/wqflask/scripts/profile_corrs.py
+++ b/wqflask/scripts/profile_corrs.py
@@ -35,12 +35,9 @@ def simulated_form(corr_type: str = "sample"):
def profile_corrs():
"Profile tho correlations"
profiler = cProfile.Profile()
- # compute_correlation(simulated_form(), compute_all=True)
profiler.enable()
correlation_results = compute_correlation(request.form, compute_all=True)
- # correlation_results = set_template_vars(request.form, correlation_results)
profiler.disable()
-
return profiler
def dump_stats(profiler):
@@ -71,7 +68,6 @@ if __name__ == "__main__":
g.db = sqlalchemy.create_engine( ## Setup global db connection
app.config.get('SQL_URI'), encoding="latin1")
g.user_session = UserSession()
- # g.user_session.user_id = 0
main()
## dispose global db connection
g.db.dispose()
diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py
index bb0caab1..7f399597 100644
--- a/wqflask/wqflask/marker_regression/display_mapping_results.py
+++ b/wqflask/wqflask/marker_regression/display_mapping_results.py
@@ -2884,7 +2884,6 @@ class DisplayMappingResults:
# add by NL 09-03-2010
HREF = "javascript:chrView(%d,%s);" % (i, self.ChrLengthMbList)
- #HREF = "javascript:changeView(%d,%s);" % (i,self.ChrLengthMbList)
Areas = HtmlGenWrapper.create_area_tag(
shape='rect',
coords=COORDS,