{"action":"created","issue":{"url":"https://api.github.com/repos/pipitone/qbatch/issues/19","repository_url":"https://api.github.com/repos/pipitone/qbatch","labels_url":"https://api.github.com/repos/pipitone/qbatch/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/pipitone/qbatch/issues/19/comments","events_url":"https://api.github.com/repos/pipitone/qbatch/issues/19/events","html_url":"https://github.com/pipitone/qbatch/pull/19","id":126290903,"number":19,"title":"Generate and run local jobfile using parallel, includes logging","user":{"login":"gdevenyi","id":3001850,"avatar_url":"https://avatars.githubusercontent.com/u/3001850?v=3","gravatar_id":"","url":"https://api.github.com/users/gdevenyi","html_url":"https://github.com/gdevenyi","followers_url":"https://api.github.com/users/gdevenyi/followers","following_url":"https://api.github.com/users/gdevenyi/following{/other_user}","gists_url":"https://api.github.com/users/gdevenyi/gists{/gist_id}","starred_url":"https://api.github.com/users/gdevenyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdevenyi/subscriptions","organizations_url":"https://api.github.com/users/gdevenyi/orgs","repos_url":"https://api.github.com/users/gdevenyi/repos","events_url":"https://api.github.com/users/gdevenyi/events{/privacy}","received_events_url":"https://api.github.com/users/gdevenyi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-12T22:20:36Z","updated_at":"2016-02-17T18:02:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pipitone/qbatch/pulls/19","html_url":"https://github.com/pipitone/qbatch/pull/19","diff_url":"https://github.com/pipitone/qbatch/pull/19.diff","patch_url":"https://github.com/pipitone/qbatch/pull/19.patch"},"body":"My first try at a local executor.\r\n\r\nIdea here is to allow cluster integrated codes (a la magetbrain) to run locally on a system with a minimal amount of modification. Added logging in for fun.\r\n\r\nDependencies in this system are obviously handled by the fact that the calling pipeline will probably call in the same order as the dependency generation.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/pipitone/qbatch/issues/comments/185327420","html_url":"https://github.com/pipitone/qbatch/pull/19#issuecomment-185327420","issue_url":"https://api.github.com/repos/pipitone/qbatch/issues/19","id":185327420,"user":{"login":"pipitone","id":509382,"avatar_url":"https://avatars.githubusercontent.com/u/509382?v=3","gravatar_id":"","url":"https://api.github.com/users/pipitone","html_url":"https://github.com/pipitone","followers_url":"https://api.github.com/users/pipitone/followers","following_url":"https://api.github.com/users/pipitone/following{/other_user}","gists_url":"https://api.github.com/users/pipitone/gists{/gist_id}","starred_url":"https://api.github.com/users/pipitone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pipitone/subscriptions","organizations_url":"https://api.github.com/users/pipitone/orgs","repos_url":"https://api.github.com/users/pipitone/repos","events_url":"https://api.github.com/users/pipitone/events{/privacy}","received_events_url":"https://api.github.com/users/pipitone/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T18:02:47Z","updated_at":"2016-02-17T18:02:47Z","body":"Thanks Gabe. This looks good.\r\n\r\n> Dependencies in this system are obviously handled by the fact that the calling pipeline will probably call in the same order as the dependency generation.\r\n\r\nYeah, I don't think we should handle dependencies too deeply. Ultimately if pipelines are getting complex perhaps people can turn to using nipype. \r\n\r\n> I was trying to figure out how to construct the logfile dir from the working directory command but I've been unsuccessful at making argparse do that. \r\n\r\nThe `os.cwd` thing seems fine to me. \r\n\r\n> Thought: can/should argparse reject command-line options which are invalid for local mode?\r\n\r\nI don't think so. If anything, we can put a note in the help for options that don't work in local mode, or if we want to be really kind, run a check in verbose mode and print some warnings. I don't think it's a priority though.\r\n\r\n"}}