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

Axes order window bugs #91

Open
thomasaarholt opened this issue Jan 18, 2017 · 1 comment
Open

Axes order window bugs #91

thomasaarholt opened this issue Jan 18, 2017 · 1 comment

Comments

@thomasaarholt
Copy link
Contributor

The up and down arrows present on the attached image yield the error at the bottom of this post. I don't know what they do, but if they navigate through the signal then they are most welcome.

In addition, the "reverse axes" button does not do anything, and doesn't report an error. For info, a bug where the hyperspy transpose doesn't work as intended could affect it: (hyperspy/hyperspy#1387).

screenshot 2017-01-18 13 20 17

Traceback (most recent call last):
  File "/Users/thomas/Dropbox/0_Git/GitHub/hyperspyUI/hyperspyui/plugins/axesorderwidget.py", line 179, in _move_down
    self._move_item(i)
  File "/Users/thomas/Dropbox/0_Git/GitHub/hyperspyUI/hyperspyui/plugins/axesorderwidget.py", line 135, in _move_item
    ax = item.data(QtCore.Qt.UserRole)
AttributeError: 'NoneType' object has no attribute 'data'
@vidartf
Copy link
Member

vidartf commented Jan 18, 2017

This has received very little love. The buttons are supposed to change order of axes, including moving from signal to nav space. It should also support drag and drop?

I'll try to look into the exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants