{"action":"created","comment":{"url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/pulls/comments/190321691","pull_request_review_id":122674286,"id":190321691,"diff_hunk":"@@ -50,11 +50,15 @@ get_options()\n \tlocal arguments=($@)","path":"FunctionalPreprocessing/FunctionalPreprocessing.XNAT_MARK_RUNNING_STATUS","position":1,"original_position":1,"commit_id":"d29eb2da999fffebf3d9d9f115c6506adfb15d68","original_commit_id":"d29eb2da999fffebf3d9d9f115c6506adfb15d68","user":{"login":"tbbrown","id":5994695,"avatar_url":"https://avatars0.githubusercontent.com/u/5994695?v=4","gravatar_id":"","url":"https://api.github.com/users/tbbrown","html_url":"https://github.com/tbbrown","followers_url":"https://api.github.com/users/tbbrown/followers","following_url":"https://api.github.com/users/tbbrown/following{/other_user}","gists_url":"https://api.github.com/users/tbbrown/gists{/gist_id}","starred_url":"https://api.github.com/users/tbbrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbbrown/subscriptions","organizations_url":"https://api.github.com/users/tbbrown/orgs","repos_url":"https://api.github.com/users/tbbrown/repos","events_url":"https://api.github.com/users/tbbrown/events{/privacy}","received_events_url":"https://api.github.com/users/tbbrown/received_events","type":"User","site_admin":false},"body":"I don't know how to make this comment show up with the lines that it should show up with.\r\n\r\nThe XNAT_PBS_JOBS_RUNNING_STATUS environment variable is no longer used by this script. So the code that checks to see if it is set near the beginning of this script should be removed.  In it's place is where I would put the check for other environment variables that now are used by this script: `XNAT_PBS_JOBS_BUILD_DIR` and `XNAT_PBS_JOBS_ARCHIVE_ROOT`.","created_at":"2018-05-23T16:47:48Z","updated_at":"2018-05-23T16:47:49Z","html_url":"https://github.com/Washington-University/xnat_pbs_jobs/pull/2#discussion_r190321691","pull_request_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/pulls/2","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/pulls/comments/190321691"},"html":{"href":"https://github.com/Washington-University/xnat_pbs_jobs/pull/2#discussion_r190321691"},"pull_request":{"href":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/pulls/2","id":189773309,"html_url":"https://github.com/Washington-University/xnat_pbs_jobs/pull/2","diff_url":"https://github.com/Washington-University/xnat_pbs_jobs/pull/2.diff","patch_url":"https://github.com/Washington-University/xnat_pbs_jobs/pull/2.patch","issue_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/issues/2","number":2,"state":"open","locked":false,"title":"Feature/change location of running status files","user":{"login":"junilc","id":37913097,"avatar_url":"https://avatars1.githubusercontent.com/u/37913097?v=4","gravatar_id":"","url":"https://api.github.com/users/junilc","html_url":"https://github.com/junilc","followers_url":"https://api.github.com/users/junilc/followers","following_url":"https://api.github.com/users/junilc/following{/other_user}","gists_url":"https://api.github.com/users/junilc/gists{/gist_id}","starred_url":"https://api.github.com/users/junilc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junilc/subscriptions","organizations_url":"https://api.github.com/users/junilc/orgs","repos_url":"https://api.github.com/users/junilc/repos","events_url":"https://api.github.com/users/junilc/events{/privacy}","received_events_url":"https://api.github.com/users/junilc/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-22T19:51:31Z","updated_at":"2018-05-23T16:47:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db21cccdc2825fa7b9771c24911a9ddef27fa7b9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/issues/2/comments","statuses_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/statuses/d29eb2da999fffebf3d9d9f115c6506adfb15d68","head":{"label":"Washington-University:feature/change_location_of_running_status_files","ref":"feature/change_location_of_running_status_files","sha":"d29eb2da999fffebf3d9d9f115c6506adfb15d68","user":{"login":"Washington-University","id":1493901,"avatar_url":"https://avatars2.githubusercontent.com/u/1493901?v=4","gravatar_id":"","url":"https://api.github.com/users/Washington-University","html_url":"https://github.com/Washington-University","followers_url":"https://api.github.com/users/Washington-University/followers","following_url":"https://api.github.com/users/Washington-University/following{/other_user}","gists_url":"https://api.github.com/users/Washington-University/gists{/gist_id}","starred_url":"https://api.github.com/users/Washington-University/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Washington-University/subscriptions","organizations_url":"https://api.github.com/users/Washington-University/orgs","repos_url":"https://api.github.com/users/Washington-University/repos","events_url":"https://api.github.com/users/Washington-University/events{/privacy}","received_events_url":"https://api.github.com/users/Washington-University/received_events","type":"Organization","site_admin":false},"repo":{"id":38766175,"name":"xnat_pbs_jobs","full_name":"Washington-University/xnat_pbs_jobs","owner":{"login":"Washington-University","id":1493901,"avatar_url":"https://avatars2.githubusercontent.com/u/1493901?v=4","gravatar_id":"","url":"https://api.github.com/users/Washington-University","html_url":"https://github.com/Washington-University","followers_url":"https://api.github.com/users/Washington-University/followers","following_url":"https://api.github.com/users/Washington-University/following{/other_user}","gists_url":"https://api.github.com/users/Washington-University/gists{/gist_id}","starred_url":"https://api.github.com/users/Washington-University/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Washington-University/subscriptions","organizations_url":"https://api.github.com/users/Washington-University/orgs","repos_url":"https://api.github.com/users/Washington-University/repos","events_url":"https://api.github.com/users/Washington-University/events{/privacy}","received_events_url":"https://api.github.com/users/Washington-University/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Washington-University/xnat_pbs_jobs","description":"Scripts to run HCP Pipelines as XNAT aware PBS scheduled jobs","fork":false,"url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs","forks_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/forks","keys_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/teams","hooks_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/hooks","issue_events_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/issues/events{/number}","events_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/events","assignees_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/assignees{/user}","branches_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/branches{/branch}","tags_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/tags","blobs_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/statuses/{sha}","languages_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/languages","stargazers_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/stargazers","contributors_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/contributors","subscribers_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/subscribers","subscription_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/subscription","commits_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/contents/{+path}","compare_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/merges","archive_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/downloads","issues_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/issues{/number}","pulls_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/pulls{/number}","milestones_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/milestones{/number}","notifications_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/labels{/name}","releases_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/releases{/id}","deployments_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/deployments","created_at":"2015-07-08T16:30:44Z","updated_at":"2018-05-14T21:56:18Z","pushed_at":"2018-05-22T19:51:32Z","git_url":"git://github.com/Washington-University/xnat_pbs_jobs.git","ssh_url":"git@github.com:Washington-University/xnat_pbs_jobs.git","clone_url":"https://github.com/Washington-University/xnat_pbs_jobs.git","svn_url":"https://github.com/Washington-University/xnat_pbs_jobs","homepage":null,"size":1736,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"Washington-University:master","ref":"master","sha":"7688fbd18e362d601d6c5a0dbb388396e786ac6f","user":{"login":"Washington-University","id":1493901,"avatar_url":"https://avatars2.githubusercontent.com/u/1493901?v=4","gravatar_id":"","url":"https://api.github.com/users/Washington-University","html_url":"https://github.com/Washington-University","followers_url":"https://api.github.com/users/Washington-University/followers","following_url":"https://api.github.com/users/Washington-University/following{/other_user}","gists_url":"https://api.github.com/users/Washington-University/gists{/gist_id}","starred_url":"https://api.github.com/users/Washington-University/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Washington-University/subscriptions","organizations_url":"https://api.github.com/users/Washington-University/orgs","repos_url":"https://api.github.com/users/Washington-University/repos","events_url":"https://api.github.com/users/Washington-University/events{/privacy}","received_events_url":"https://api.github.com/users/Washington-University/received_events","type":"Organization","site_admin":false},"repo":{"id":38766175,"name":"xnat_pbs_jobs","full_name":"Washington-University/xnat_pbs_jobs","owner":{"login":"Washington-University","id":1493901,"avatar_url":"https://avatars2.githubusercontent.com/u/1493901?v=4","gravatar_id":"","url":"https://api.github.com/users/Washington-University","html_url":"https://github.com/Washington-University","followers_url":"https://api.github.com/users/Washington-University/followers","following_url":"https://api.github.com/users/Washington-University/following{/other_user}","gists_url":"https://api.github.com/users/Washington-University/gists{/gist_id}","starred_url":"https://api.github.com/users/Washington-University/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Washington-University/subscriptions","organizations_url":"https://api.github.com/users/Washington-University/orgs","repos_url":"https://api.github.com/users/Washington-University/repos","events_url":"https://api.github.com/users/Washington-University/events{/privacy}","received_events_url":"https://api.github.com/users/Washington-University/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Washington-University/xnat_pbs_jobs","description":"Scripts to run HCP Pipelines as XNAT aware PBS scheduled jobs","fork":false,"url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs","forks_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/forks","keys_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/teams","hooks_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/hooks","issue_events_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/issues/events{/number}","events_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/events","assignees_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/assignees{/user}","branches_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/branches{/branch}","tags_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/tags","blobs_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/statuses/{sha}","languages_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/languages","stargazers_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/stargazers","contributors_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/contributors","subscribers_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/subscribers","subscription_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/subscription","commits_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/contents/{+path}","compare_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/merges","archive_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/downloads","issues_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/issues{/number}","pulls_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/pulls{/number}","milestones_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/milestones{/number}","notifications_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/labels{/name}","releases_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/releases{/id}","deployments_url":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/deployments","created_at":"2015-07-08T16:30:44Z","updated_at":"2018-05-14T21:56:18Z","pushed_at":"2018-05-22T19:51:32Z","git_url":"git://github.com/Washington-University/xnat_pbs_jobs.git","ssh_url":"git@github.com:Washington-University/xnat_pbs_jobs.git","clone_url":"https://github.com/Washington-University/xnat_pbs_jobs.git","svn_url":"https://github.com/Washington-University/xnat_pbs_jobs","homepage":null,"size":1736,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/pulls/2"},"html":{"href":"https://github.com/Washington-University/xnat_pbs_jobs/pull/2"},"issue":{"href":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/issues/2"},"comments":{"href":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Washington-University/xnat_pbs_jobs/statuses/d29eb2da999fffebf3d9d9f115c6506adfb15d68"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"tbbrown"}}