Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit Filters page is broken #18

Closed
ewels opened this issue May 12, 2018 · 0 comments
Closed

Edit Filters page is broken #18

ewels opened this issue May 12, 2018 · 0 comments

Comments

@ewels
Copy link
Member

ewels commented May 12, 2018

The edit_filters/ page triggers an error:

127.0.0.1 - - [12/May/2018 07:52:19] "GET /edit_filters/ HTTP/1.1" 500 -
Error on request:
Traceback (most recent call last):
  File "/Users/ewels/miniconda2/envs/work/lib/python2.7/site-packages/Werkzeug-0.12.2-py2.7.egg/werkzeug/serving.py", line 209, in run_wsgi
    execute(self.server.app)
  File "/Users/ewels/miniconda2/envs/work/lib/python2.7/site-packages/Werkzeug-0.12.2-py2.7.egg/werkzeug/serving.py", line 197, in execute
    application_iter = app(environ, start_response)
  File "/Users/ewels/miniconda2/envs/work/lib/python2.7/site-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1994, in __call__
    return self.wsgi_app(environ, start_response)
  File "/Users/ewels/miniconda2/envs/work/lib/python2.7/site-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "/Users/ewels/miniconda2/envs/work/lib/python2.7/site-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/ewels/miniconda2/envs/work/lib/python2.7/site-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/Users/ewels/miniconda2/envs/work/lib/python2.7/site-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1614, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Users/ewels/miniconda2/envs/work/lib/python2.7/site-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1517, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/ewels/miniconda2/envs/work/lib/python2.7/site-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Users/ewels/miniconda2/envs/work/lib/python2.7/site-packages/Flask_DebugToolbar-0.10.1-py2.7.egg/flask_debugtoolbar/__init__.py", line 125, in dispatch_request
    return view_func(**req.view_args)
  File "/Users/ewels/miniconda2/envs/work/lib/python2.7/site-packages/Flask_Login-0.4.0-py2.7.egg/flask_login/utils.py", line 228, in decorated_view
    return func(*args, **kwargs)
  File "/Users/ewels/GitHub/MegaQC/megaqc/public/views.py", line 132, in edit_filters
    sample_filter_counts[sf['id']] = get_samples(filters=sf['id'], count=True)
  File "/Users/ewels/GitHub/MegaQC/megaqc/api/utils.py", line 520, in get_samples
    sample_query = build_filter(sample_query, filters, Sample)
  File "/Users/ewels/GitHub/MegaQC/megaqc/api/utils.py", line 621, in build_filter
    for filter_group in filters:
TypeError: 'int' object is not iterable
@ewels ewels added this to the Version 0.1 milestone May 12, 2018
@tsnowlan tsnowlan mentioned this issue Jun 4, 2018
@ewels ewels closed this as completed Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant