{"action":"closed","issue":{"url":"https://api.github.com/repos/SIMEXP/niak/issues/179","repository_url":"https://api.github.com/repos/SIMEXP/niak","labels_url":"https://api.github.com/repos/SIMEXP/niak/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/SIMEXP/niak/issues/179/comments","events_url":"https://api.github.com/repos/SIMEXP/niak/issues/179/events","html_url":"https://github.com/SIMEXP/niak/issues/179","id":153508759,"number":179,"title":"niak_model_select should return the selected model as well","user":{"login":"surchs","id":1302022,"avatar_url":"https://avatars.githubusercontent.com/u/1302022?v=3","gravatar_id":"","url":"https://api.github.com/users/surchs","html_url":"https://github.com/surchs","followers_url":"https://api.github.com/users/surchs/followers","following_url":"https://api.github.com/users/surchs/following{/other_user}","gists_url":"https://api.github.com/users/surchs/gists{/gist_id}","starred_url":"https://api.github.com/users/surchs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surchs/subscriptions","organizations_url":"https://api.github.com/users/surchs/orgs","repos_url":"https://api.github.com/users/surchs/repos","events_url":"https://api.github.com/users/surchs/events{/privacy}","received_events_url":"https://api.github.com/users/surchs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SIMEXP/niak/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"surchs","id":1302022,"avatar_url":"https://avatars.githubusercontent.com/u/1302022?v=3","gravatar_id":"","url":"https://api.github.com/users/surchs","html_url":"https://github.com/surchs","followers_url":"https://api.github.com/users/surchs/followers","following_url":"https://api.github.com/users/surchs/following{/other_user}","gists_url":"https://api.github.com/users/surchs/gists{/gist_id}","starred_url":"https://api.github.com/users/surchs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surchs/subscriptions","organizations_url":"https://api.github.com/users/surchs/orgs","repos_url":"https://api.github.com/users/surchs/repos","events_url":"https://api.github.com/users/surchs/events{/privacy}","received_events_url":"https://api.github.com/users/surchs/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-05-06T18:17:04Z","updated_at":"2016-05-07T00:26:45Z","closed_at":"2016-05-07T00:26:45Z","body":"Currently `niak_model_select` only returns the subject IDs and row IDs of the selected model, not the model matrix itself. This means that the user has to perform an additional step to mask the original, unfiltered model with the returned row IDs and then select the columns according to his specifications.\r\n\r\nSince Matlab allows to unpack return arguments into fewer variables, adding an additional return argument shouldn't lead to any problems with old code."}}