{"action":"opened","issue":{"url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/690","labels_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/690/labels{/name}","comments_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/690/comments","events_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/690/events","html_url":"https://github.com/cooperative-computing-lab/cctools/issues/690","id":63344248,"number":690,"title":"Makeflow file name interpolation missing for wrapper","user":{"login":"batrick","id":548304,"avatar_url":"https://avatars.githubusercontent.com/u/548304?v=3","gravatar_id":"","url":"https://api.github.com/users/batrick","html_url":"https://github.com/batrick","followers_url":"https://api.github.com/users/batrick/followers","following_url":"https://api.github.com/users/batrick/following{/other_user}","gists_url":"https://api.github.com/users/batrick/gists{/gist_id}","starred_url":"https://api.github.com/users/batrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batrick/subscriptions","organizations_url":"https://api.github.com/users/batrick/orgs","repos_url":"https://api.github.com/users/batrick/repos","events_url":"https://api.github.com/users/batrick/events{/privacy}","received_events_url":"https://api.github.com/users/batrick/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cooperative-computing-lab/cctools/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/cooperative-computing-lab/cctools/labels/Makeflow","name":"Makeflow","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-21T01:58:06Z","updated_at":"2015-03-21T01:58:06Z","closed_at":null,"body":"Sometime after ada96bf2c0ad4fc575564680d15de9ee5b0befcb, Makeflow lost support for file name interpolation in wrapper output/input. For example:\r\n\r\n`makeflow --wrapper='{} > stdout.$NODE 2> stderr.$NODE' --wrapper-output='stdout.$NODE' --wrapper-output='stderr.$NODE' makeflow/example/example.makeflow -T chirp --working-dir=chirp://localhost:10000/`\r\n\r\nThis works in ada96bf2c0ad4fc575564680d15de9ee5b0befcb (which my confuga branch is currently based on), but it does not work in master.\r\n\r\nAlso, support for $NODE and $RULE is also missing. Without these variables, it's hard to have per-rule files with the wrapper command, right?\r\n\r\nBy the way, the Makeflow man page and documentation requires expansion on: curly braces `{}` are replaced by the actual command. My interpretation of the docs is that the wrapper command is only prepended to the actual command."}}