{"action":"created","issue":{"url":"https://api.github.com/repos/nicholst/SnPM-devel/issues/30","repository_url":"https://api.github.com/repos/nicholst/SnPM-devel","labels_url":"https://api.github.com/repos/nicholst/SnPM-devel/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/nicholst/SnPM-devel/issues/30/comments","events_url":"https://api.github.com/repos/nicholst/SnPM-devel/issues/30/events","html_url":"https://github.com/nicholst/SnPM-devel/pull/30","id":189115928,"number":30,"title":"Table hack","user":{"login":"nicholst","id":5155907,"avatar_url":"https://avatars.githubusercontent.com/u/5155907?v=3","gravatar_id":"","url":"https://api.github.com/users/nicholst","html_url":"https://github.com/nicholst","followers_url":"https://api.github.com/users/nicholst/followers","following_url":"https://api.github.com/users/nicholst/following{/other_user}","gists_url":"https://api.github.com/users/nicholst/gists{/gist_id}","starred_url":"https://api.github.com/users/nicholst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicholst/subscriptions","organizations_url":"https://api.github.com/users/nicholst/orgs","repos_url":"https://api.github.com/users/nicholst/repos","events_url":"https://api.github.com/users/nicholst/events{/privacy}","received_events_url":"https://api.github.com/users/nicholst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-14T13:46:12Z","updated_at":"2016-11-15T10:19:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nicholst/SnPM-devel/pulls/30","html_url":"https://github.com/nicholst/SnPM-devel/pull/30","diff_url":"https://github.com/nicholst/SnPM-devel/pull/30.diff","patch_url":"https://github.com/nicholst/SnPM-devel/pull/30.patch"},"body":"Create TabDat structure expected by spm_list, allowing access to all peak/cluster results, even if there are too many for the SnPM results page.  The TabDat structure is (inelegantly) saved to a mat file.  \r\n\r\nImprovement that is needed is allowing this table to be printed via a context menu."},"comment":{"url":"https://api.github.com/repos/nicholst/SnPM-devel/issues/comments/260602915","html_url":"https://github.com/nicholst/SnPM-devel/pull/30#issuecomment-260602915","issue_url":"https://api.github.com/repos/nicholst/SnPM-devel/issues/30","id":260602915,"user":{"login":"nicholst","id":5155907,"avatar_url":"https://avatars.githubusercontent.com/u/5155907?v=3","gravatar_id":"","url":"https://api.github.com/users/nicholst","html_url":"https://github.com/nicholst","followers_url":"https://api.github.com/users/nicholst/followers","following_url":"https://api.github.com/users/nicholst/following{/other_user}","gists_url":"https://api.github.com/users/nicholst/gists{/gist_id}","starred_url":"https://api.github.com/users/nicholst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicholst/subscriptions","organizations_url":"https://api.github.com/users/nicholst/orgs","repos_url":"https://api.github.com/users/nicholst/repos","events_url":"https://api.github.com/users/nicholst/events{/privacy}","received_events_url":"https://api.github.com/users/nicholst/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T10:19:31Z","updated_at":"2016-11-15T10:19:31Z","body":"@cmaumet If you want to develop tests on the TabDat table structure, here are some hints (and, aside from testing this very bit of code, it might be a useful way to test the actual content of the SnPM results table).\r\n\r\nThis of course assumes you've already run SnPM Inference and there is a current result displayed.\r\n\r\n```matlab\r\n% Find the axis from which the context-menu arises\r\nobj=findobj(spm_figure('FindWin','Graphics'),'Tag','TabDat'); \r\n% Get TabDat structure\r\nTabDat=get(obj,'UserData');\r\n% Write CSV table\r\nsnpm_list('csvlist',TabDat,'/tmp/file.csv');\r\n% Text rendering of TabDat\r\ndiary /tmp/file.txt\r\nspm_list('txtlist',TabDat);\r\ndiary off\r\n```"}}
{"actor":{"display_login":"nicholst"}}