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

When TableResult with configuration receive ResultContainer with the different structure, block couldn't be rendered. #69

Open
evilkost opened this issue Apr 9, 2014 · 0 comments
Labels

Comments

@evilkost
Copy link
Owner

evilkost commented Apr 9, 2014

BoxPlot probable affected too.

Traceback (most recent call last):

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 114, in get_response
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 99, in _wrapped_view
response = view_func(request, _args, *_kwargs)
File "/home/kost/miXGENE/mixgene_project/mixgene/util.py", line 117, in wrapper
result = func_to_decorate(_args, *_kwargs)
File "/home/kost/miXGENE/mixgene_project/webapp/views.py", line 151, in blocks_resource
for uuid, block in blocks
File "/home/kost/miXGENE/mixgene_project/webapp/views.py", line 151, in
for uuid, block in blocks
File "/home/kost/miXGENE/mixgene_project/mixgene/util.py", line 117, in wrapper
result = func_to_decorate(_args, *_kwargs)
File "/home/kost/miXGENE/mixgene_project/workflow/blocks/generic.py", line 244, in to_dict
result = self._block_serializer.to_dict(self)
File "/home/kost/miXGENE/mixgene_project/mixgene/util.py", line 117, in wrapper
result = func_to_decorate(_args, *_kwargs)
File "/home/kost/miXGENE/mixgene_project/workflow/blocks/managers.py", line 126, in to_dict
raw_val = getattr(block, f_name)
File "/home/kost/miXGENE/mixgene_project/workflow/blocks/rc_table.py", line 66, in table
metric_name=self.metric)
File "/home/kost/miXGENE/mixgene_project/environment/result_container.py", line 253, in get_pandas_slice
index_labels = [self.labels_dict[axis] for axis in axis_list_for_index]
KeyError: u'MULTI_FEATURE:4'

@evilkost evilkost added the bug label Apr 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant