cmbi / kmad-web

1 stars 1 forks source link

KeyError: 'consensus' #23

Closed joannalange closed 8 years ago

joannalange commented 8 years ago

Disorder prediction returns the following error:

ServiceError: Traceback (most recent call last):
  File "/srv/www/kmad-web/.virtualenvs/kmad-web/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/srv/www/kmad-web/kmad-web/kmad_web/factory.py", line 115, in __call__
    return TaskBase.__call__(self, *args, **kwargs)
  File "/srv/www/kmad-web/.virtualenvs/kmad-web/local/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__
    return self.run(*args, **kwargs)
  File "/srv/www/kmad-web/kmad-web/kmad_web/tasks.py", line 70, in process_prediction_results
    prediction_text = processor.make_text(predictions, sequence)
  File "/srv/www/kmad-web/kmad-web/kmad_web/domain/disorder_prediction/processor.py", line 190, in make_text
    ' '.join([str(predictions[m][j]) for m in methods])
KeyError: 'consensus'