{"action":"created","issue":{"url":"https://api.github.com/repos/hyperspy/hyperspy/issues/1603","repository_url":"https://api.github.com/repos/hyperspy/hyperspy","labels_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/1603/labels{/name}","comments_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/1603/comments","events_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/1603/events","html_url":"https://github.com/hyperspy/hyperspy/issues/1603","id":223985487,"number":1603,"title":"spikes_removal_tool() fails on PC Python 3.6.0 Anaconda 4.3.1 (64 bit)","user":{"login":"quee2715","id":27981890,"avatar_url":"https://avatars0.githubusercontent.com/u/27981890?v=3","gravatar_id":"","url":"https://api.github.com/users/quee2715","html_url":"https://github.com/quee2715","followers_url":"https://api.github.com/users/quee2715/followers","following_url":"https://api.github.com/users/quee2715/following{/other_user}","gists_url":"https://api.github.com/users/quee2715/gists{/gist_id}","starred_url":"https://api.github.com/users/quee2715/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quee2715/subscriptions","organizations_url":"https://api.github.com/users/quee2715/orgs","repos_url":"https://api.github.com/users/quee2715/repos","events_url":"https://api.github.com/users/quee2715/events{/privacy}","received_events_url":"https://api.github.com/users/quee2715/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-04-25T00:16:49Z","updated_at":"2017-04-25T09:43:02Z","closed_at":null,"body":"For some reason spikes.removal.tool() fails on mac with fresh python 3.6 environment (conda), hyperspy installed using conda install with both traits and traitsui updated to the latest version. Any suggestions to fix it would be much appreciated. I have read pages where it describes the issue ought to be resolved when using Python 3. But this error persists.\r\n\r\nin [1]: import hyperspy.api as hs\r\nimport numpy as np\r\n%matplotlib qt4\r\n\r\nin [2]: sll = hs.load('EELS Spectrum Image (low-loss) (dark ref corrected).dm3')\r\nshl = hs.load('EELS Spectrum Image (high-loss) (dark ref corrected).dm3')\r\n\r\nin [3]: sll.plot()\r\n\r\nin [4]: sll.crop(1,10,171)\r\nshl.crop(1,10,171)\r\n\r\nin[5]: sll.align_zero_loss_peak(also_align=[shl],signal_range=(-5.,5.))\r\n\r\nin [6]: sll.save('J2_SI2v2_LL_cropped_ZLPaligned.hdf5')\r\nshl.save('J2_SI2v2_HL_cropped_ZLPaligned.hdf5')\r\n\r\nin[7]: shl.spikes_removal_tool()\r\n---------------------------------------------------------------------------\r\nNotImplementedError                       Traceback (most recent call last)\r\n<ipython-input-9-4b4625bf8dd3> in <module>()\r\n----> 1 shl.spikes_removal_tool()\r\n\r\nc:\\programdata\\anaconda3\\lib\\site-packages\\hyperspy\\_signals\\signal1d.py in spikes_removal_tool(self, signal_mask, navigation_mask)\r\n    345                            navigation_mask=navigation_mask,\r\n    346                            signal_mask=signal_mask)\r\n--> 347         sr.configure_traits()\r\n    348         return sr\r\n    349 \r\n\r\nc:\\programdata\\anaconda3\\lib\\site-packages\\traits\\has_traits.py in configure_traits(self, filename, view, kind, edit, context, handler, id, scrollable, **args)\r\n   2169                 context = self\r\n   2170             rc = toolkit().view_application( context, self.trait_view( view ),\r\n-> 2171                                            kind, handler, id, scrollable, args )\r\n   2172             if rc and (filename is not None):\r\n   2173                 fd = None\r\n\r\nc:\\programdata\\anaconda3\\lib\\site-packages\\traitsui\\toolkit.py in view_application(self, context, view, kind, handler, id, scrollable, args)\r\n    289 \r\n    290         \"\"\"\r\n--> 291         raise NotImplementedError\r\n    292 \r\n    293     #---------------------------------------------------------------------------\r\n\r\nNotImplementedError: "},"comment":{"url":"https://api.github.com/repos/hyperspy/hyperspy/issues/comments/296976623","html_url":"https://github.com/hyperspy/hyperspy/issues/1603#issuecomment-296976623","issue_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/1603","id":296976623,"user":{"login":"thomasaarholt","id":2721423,"avatar_url":"https://avatars0.githubusercontent.com/u/2721423?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasaarholt","html_url":"https://github.com/thomasaarholt","followers_url":"https://api.github.com/users/thomasaarholt/followers","following_url":"https://api.github.com/users/thomasaarholt/following{/other_user}","gists_url":"https://api.github.com/users/thomasaarholt/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasaarholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasaarholt/subscriptions","organizations_url":"https://api.github.com/users/thomasaarholt/orgs","repos_url":"https://api.github.com/users/thomasaarholt/repos","events_url":"https://api.github.com/users/thomasaarholt/events{/privacy}","received_events_url":"https://api.github.com/users/thomasaarholt/received_events","type":"User","site_admin":false},"created_at":"2017-04-25T09:43:02Z","updated_at":"2017-04-25T09:43:02Z","body":"@quee2715 Glad it worked. Could you close this issue?"}}
{"actor":{"display_login":"thomasaarholt"}}