{"action":"created","issue":{"url":"https://api.github.com/repos/nipy/nipype/issues/1107","labels_url":"https://api.github.com/repos/nipy/nipype/issues/1107/labels{/name}","comments_url":"https://api.github.com/repos/nipy/nipype/issues/1107/comments","events_url":"https://api.github.com/repos/nipy/nipype/issues/1107/events","html_url":"https://github.com/nipy/nipype/issues/1107","id":78068777,"number":1107,"title":"Make a Node put its data in the workflow directories","user":{"login":"TheChymera","id":950524,"avatar_url":"https://avatars.githubusercontent.com/u/950524?v=3","gravatar_id":"","url":"https://api.github.com/users/TheChymera","html_url":"https://github.com/TheChymera","followers_url":"https://api.github.com/users/TheChymera/followers","following_url":"https://api.github.com/users/TheChymera/following{/other_user}","gists_url":"https://api.github.com/users/TheChymera/gists{/gist_id}","starred_url":"https://api.github.com/users/TheChymera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheChymera/subscriptions","organizations_url":"https://api.github.com/users/TheChymera/orgs","repos_url":"https://api.github.com/users/TheChymera/repos","events_url":"https://api.github.com/users/TheChymera/events{/privacy}","received_events_url":"https://api.github.com/users/TheChymera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-05-19T12:32:14Z","updated_at":"2015-05-19T17:39:05Z","closed_at":null,"body":"Following [my misfortunes with trying to extend the Dcmstack interface](https://github.com/nipy/nipype/issues/1097), I am setting out to wrap a function of my own in place of Dcmstack's `parse_and_stack`.\r\n\r\nThis has worked nicely (I am defining the function [here](https://github.com/TheChymera/chyMRI/blob/b9b32a557142c3c8e1a41a7bb7417d7067333597/functions_preprocessing.py#L6), and using it via a Node [here](https://github.com/TheChymera/chyMRI/blob/b9b32a557142c3c8e1a41a7bb7417d7067333597/preprocessing.py)).\r\n\r\nHow can I make the `stacker` Node put the data it generates into the preprocessing directories (like the `realigner` node is doing)?"},"comment":{"url":"https://api.github.com/repos/nipy/nipype/issues/comments/103610221","html_url":"https://github.com/nipy/nipype/issues/1107#issuecomment-103610221","issue_url":"https://api.github.com/repos/nipy/nipype/issues/1107","id":103610221,"user":{"login":"oesteban","id":598470,"avatar_url":"https://avatars.githubusercontent.com/u/598470?v=3","gravatar_id":"","url":"https://api.github.com/users/oesteban","html_url":"https://github.com/oesteban","followers_url":"https://api.github.com/users/oesteban/followers","following_url":"https://api.github.com/users/oesteban/following{/other_user}","gists_url":"https://api.github.com/users/oesteban/gists{/gist_id}","starred_url":"https://api.github.com/users/oesteban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oesteban/subscriptions","organizations_url":"https://api.github.com/users/oesteban/orgs","repos_url":"https://api.github.com/users/oesteban/repos","events_url":"https://api.github.com/users/oesteban/events{/privacy}","received_events_url":"https://api.github.com/users/oesteban/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T17:39:05Z","updated_at":"2015-05-19T17:39:05Z","body":"Exactly, that's the idea: inside _run_interface you call parse_and_stack.\r\n\r\nWhatever you define in the InputSpec class will be available there as self.inputs.my_parameter_name."}}