{"action":"created","issue":{"url":"https://api.github.com/repos/vatlab/SoS/issues/894","repository_url":"https://api.github.com/repos/vatlab/SoS","labels_url":"https://api.github.com/repos/vatlab/SoS/issues/894/labels{/name}","comments_url":"https://api.github.com/repos/vatlab/SoS/issues/894/comments","events_url":"https://api.github.com/repos/vatlab/SoS/issues/894/events","html_url":"https://github.com/vatlab/SoS/issues/894","id":298478778,"number":894,"title":"\"process\" queue job template problem","user":{"login":"gaow","id":917985,"avatar_url":"https://avatars1.githubusercontent.com/u/917985?v=4","gravatar_id":"","url":"https://api.github.com/users/gaow","html_url":"https://github.com/gaow","followers_url":"https://api.github.com/users/gaow/followers","following_url":"https://api.github.com/users/gaow/following{/other_user}","gists_url":"https://api.github.com/users/gaow/gists{/gist_id}","starred_url":"https://api.github.com/users/gaow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaow/subscriptions","organizations_url":"https://api.github.com/users/gaow/orgs","repos_url":"https://api.github.com/users/gaow/repos","events_url":"https://api.github.com/users/gaow/events{/privacy}","received_events_url":"https://api.github.com/users/gaow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-20T05:47:36Z","updated_at":"2018-02-20T06:24:37Z","closed_at":null,"author_association":"MEMBER","body":"Separated from #890.\r\n\r\nIt looks like for \"process\" queue `based_on` a `PBS` queue, not all variables are available. For example:\r\n\r\n```\r\ncd {cur_dir}\r\nmodule load R/3.4.3\r\nsos execute {task} -v {verbosity} -s {sig_mode}\r\n: name 'verbosity' is not defined\r\n```\r\n\r\nI would assume all variables get inherited? My config:\r\n\r\n```\r\n  midway2-process:\r\n    based_on: hosts.midway2\r\n    cur_dir: ~/\r\n    queue_type: process\r\n    status_check_interval: 3\r\n    job_template: \"cd {cur_dir}\\nmodule load R/3.4.3\\nsos execute {task} -v {verbosity} -s {sig_mode}\"\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/vatlab/SoS/issues/comments/366878581","html_url":"https://github.com/vatlab/SoS/issues/894#issuecomment-366878581","issue_url":"https://api.github.com/repos/vatlab/SoS/issues/894","id":366878581,"user":{"login":"BoPeng","id":9889312,"avatar_url":"https://avatars1.githubusercontent.com/u/9889312?v=4","gravatar_id":"","url":"https://api.github.com/users/BoPeng","html_url":"https://github.com/BoPeng","followers_url":"https://api.github.com/users/BoPeng/followers","following_url":"https://api.github.com/users/BoPeng/following{/other_user}","gists_url":"https://api.github.com/users/BoPeng/gists{/gist_id}","starred_url":"https://api.github.com/users/BoPeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoPeng/subscriptions","organizations_url":"https://api.github.com/users/BoPeng/orgs","repos_url":"https://api.github.com/users/BoPeng/repos","events_url":"https://api.github.com/users/BoPeng/events{/privacy}","received_events_url":"https://api.github.com/users/BoPeng/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T06:24:37Z","updated_at":"2018-02-20T06:24:37Z","author_association":"CONTRIBUTOR","body":"Again?"}}
{"actor":{"display_login":"BoPeng"}}