ERROR

This error is not what we wanted to see. Unfortunately errors are part of all software systems and we need to resolve this together.

It is important to report this ERROR so we can fix it for everyone.

Report to the GeneNetwork team by recording the steps you take to reproduce this ERROR. Next to those steps, copy-paste below stack trace, either as a new issue or E-mail this full page to one of the developers directly.

(GeneNetwork error: module 'string' has no attribute 'strip')

    GeneNetwork tux01:gene:2.11-rc2-HEAD-14d845d3d http://gn2.genenetwork.org/snp_browser?first_run=true&species=mouse&gene_name=Chrna3&limit_strains=on ( 2:47PM UTC Oct 28, 2020)
    module 'string' has no attribute 'strip' (error)
      File "/export/local/home/gn2/production/gene/wqflask/wqflask/snp_browser/snp_browser.py", line 726, in get_effect_details_by_category
        effect_detail_list = list(map(string.strip, effect_detail_list))
  

To check if this already a known issue, search the issue tracker.

Toggle full stack trace
      GeneNetwork tux01:gene:2.11-rc2-HEAD-14d845d3d  http://gn2.genenetwork.org/snp_browser?first_run=true&species=mouse&gene_name=Chrna3&limit_strains=on ( 2:47PM UTC Oct 28, 2020)
       Traceback (most recent call last):
         File "/usr/local/guix-profiles/gn-latest-2020-10-19/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
           rv = self.dispatch_request()
         File "/usr/local/guix-profiles/gn-latest-2020-10-19/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
           return self.view_functions[rule.endpoint](**req.view_args)
         File "/export/local/home/gn2/production/gene/wqflask/wqflask/views.py", line 899, in snp_browser_page
           template_vars = snp_browser.SnpBrowser(request.args)
         File "/export/local/home/gn2/production/gene/wqflask/wqflask/snp_browser/snp_browser.py", line 20, in __init__
           self.filtered_results = self.get_browser_results()
         File "/export/local/home/gn2/production/gene/wqflask/wqflask/snp_browser/snp_browser.py", line 248, in get_browser_results
           return self.filter_results(results_all)
         File "/export/local/home/gn2/production/gene/wqflask/wqflask/snp_browser/snp_browser.py", line 280, in filter_results
           effect_info_dict = get_effect_info(effect_list)
         File "/export/local/home/gn2/production/gene/wqflask/wqflask/snp_browser/snp_browser.py", line 789, in get_effect_info
           effect_detail_list = get_effect_details_by_category(effect_name='Nonsplice Site', effect_value=nonsplice_site)
         File "/export/local/home/gn2/production/gene/wqflask/wqflask/snp_browser/snp_browser.py", line 726, in get_effect_details_by_category
           effect_detail_list = list(map(string.strip, effect_detail_list))
       AttributeError: module 'string' has no attribute 'strip'