aboutsummaryrefslogtreecommitdiff
path: root/wqflask/scripts
diff options
context:
space:
mode:
authorMunyoki Kilyungi2022-09-02 12:19:09 +0300
committerBonfaceKilz2022-09-08 14:26:19 +0300
commitfb18e9136736070a29b14af6346d09aba53bfddd (patch)
tree9bb4b60f3fd0b7a195492a26c8b72450d13b835b /wqflask/scripts
parente3916e6403b8933d9d8896b7289321c45b9990d2 (diff)
downloadgenenetwork2-fb18e9136736070a29b14af6346d09aba53bfddd.tar.gz
Delete dead comment
Diffstat (limited to 'wqflask/scripts')
-rw-r--r--wqflask/scripts/profile_corrs.py4
1 files changed, 0 insertions, 4 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()