{"action":"created","issue":{"url":"https://api.github.com/repos/rgommers/pywt/issues/77","labels_url":"https://api.github.com/repos/rgommers/pywt/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/rgommers/pywt/issues/77/comments","events_url":"https://api.github.com/repos/rgommers/pywt/issues/77/events","html_url":"https://github.com/rgommers/pywt/pull/77","id":97528106,"number":77,"title":"MAINT: raise ValueError if data given to dwt or idwt is not 1D rather…","user":{"login":"grlee77","id":6528957,"avatar_url":"https://avatars.githubusercontent.com/u/6528957?v=3","gravatar_id":"","url":"https://api.github.com/users/grlee77","html_url":"https://github.com/grlee77","followers_url":"https://api.github.com/users/grlee77/followers","following_url":"https://api.github.com/users/grlee77/following{/other_user}","gists_url":"https://api.github.com/users/grlee77/gists{/gist_id}","starred_url":"https://api.github.com/users/grlee77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grlee77/subscriptions","organizations_url":"https://api.github.com/users/grlee77/orgs","repos_url":"https://api.github.com/users/grlee77/repos","events_url":"https://api.github.com/users/grlee77/events{/privacy}","received_events_url":"https://api.github.com/users/grlee77/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-27T18:41:35Z","updated_at":"2015-07-27T18:45:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rgommers/pywt/pulls/77","html_url":"https://github.com/rgommers/pywt/pull/77","diff_url":"https://github.com/rgommers/pywt/pull/77.diff","patch_url":"https://github.com/rgommers/pywt/pull/77.patch"},"body":"This adds a check on the dimension of the data passed to ``dwt`` or ``idwt``.  \r\n\r\nI accidentally passed a 2D array of size (32, 1) to ``dwt`` and received the following traceback that I think would be obscure from a user perspective:\r\n\r\n```python\r\nTraceback (most recent call last):\r\n\r\n  File \"<ipython-input-113-018620631316>\", line 1, in <module>\r\n    coeffs = pywt.dwt(x, 'db1')\r\n\r\n  File \"_pywt.pyx\", line 648, in _pywt.dwt (pywt/src/_pywt.c:9625)\r\n\r\n  File \"_pywt.pyx\", line 651, in _pywt.__pyx_fused_cpdef (pywt/src/_pywt.c:10260)\r\n\r\nTypeError: No matching signature found\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rgommers/pywt/issues/comments/125302143","html_url":"https://github.com/rgommers/pywt/pull/77#issuecomment-125302143","issue_url":"https://api.github.com/repos/rgommers/pywt/issues/77","id":125302143,"user":{"login":"grlee77","id":6528957,"avatar_url":"https://avatars.githubusercontent.com/u/6528957?v=3","gravatar_id":"","url":"https://api.github.com/users/grlee77","html_url":"https://github.com/grlee77","followers_url":"https://api.github.com/users/grlee77/followers","following_url":"https://api.github.com/users/grlee77/following{/other_user}","gists_url":"https://api.github.com/users/grlee77/gists{/gist_id}","starred_url":"https://api.github.com/users/grlee77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grlee77/subscriptions","organizations_url":"https://api.github.com/users/grlee77/orgs","repos_url":"https://api.github.com/users/grlee77/repos","events_url":"https://api.github.com/users/grlee77/events{/privacy}","received_events_url":"https://api.github.com/users/grlee77/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T18:45:30Z","updated_at":"2015-07-27T18:45:30Z","body":"also, not sure if the commit message here should begin with MAINT: or BUG:"}}