From fb18e9136736070a29b14af6346d09aba53bfddd Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Fri, 2 Sep 2022 12:19:09 +0300 Subject: Delete dead comment --- wqflask/scripts/profile_corrs.py | 4 ---- wqflask/wqflask/marker_regression/display_mapping_results.py | 1 - 2 files changed, 5 deletions(-) (limited to 'wqflask') 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, -- cgit v1.2.3