{"action":"created","comment":{"url":"https://api.github.com/repos/lsst/obs_lsstSim/pulls/comments/76163282","id":76163282,"diff_hunk":"@@ -258,6 +259,13 @@ def makeDetectorConfigs(detectorLayoutFile, phosimVersion):\n             detectorConfigs.append(detConfig)\n     return detectorConfigs\n \n+\n+def getPhosimVersion(defaultDataDir):\n+    \"\"\"Return the phosim version from data/phosim_version.txt\"\"\"\n+    with open(os.path.join(defaultDataDir, 'phosim_version.txt')) as infile:\n+        return infile.read().strip()","path":"bin.src/makeLsstCameraRepository.py","position":174,"original_position":18,"commit_id":"0c7d7a0551d393b73e67e41a26e7e20fa1a53e9e","original_commit_id":"2c26d8e7530755b2aed4a7d646eae68eae591b8a","user":{"login":"SimonKrughoff","id":945715,"avatar_url":"https://avatars.githubusercontent.com/u/945715?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonKrughoff","html_url":"https://github.com/SimonKrughoff","followers_url":"https://api.github.com/users/SimonKrughoff/followers","following_url":"https://api.github.com/users/SimonKrughoff/following{/other_user}","gists_url":"https://api.github.com/users/SimonKrughoff/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonKrughoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonKrughoff/subscriptions","organizations_url":"https://api.github.com/users/SimonKrughoff/orgs","repos_url":"https://api.github.com/users/SimonKrughoff/repos","events_url":"https://api.github.com/users/SimonKrughoff/events{/privacy}","received_events_url":"https://api.github.com/users/SimonKrughoff/received_events","type":"User","site_admin":false},"body":"I think phosim produces a version number in the headers.  It may be worth trying to get it from there.","created_at":"2016-08-25T00:24:20Z","updated_at":"2016-08-25T00:24:20Z","html_url":"https://github.com/lsst/obs_lsstSim/pull/18#discussion_r76163282","pull_request_url":"https://api.github.com/repos/lsst/obs_lsstSim/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/lsst/obs_lsstSim/pulls/comments/76163282"},"html":{"href":"https://github.com/lsst/obs_lsstSim/pull/18#discussion_r76163282"},"pull_request":{"href":"https://api.github.com/repos/lsst/obs_lsstSim/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/lsst/obs_lsstSim/pulls/18","id":82636741,"html_url":"https://github.com/lsst/obs_lsstSim/pull/18","diff_url":"https://github.com/lsst/obs_lsstSim/pull/18.diff","patch_url":"https://github.com/lsst/obs_lsstSim/pull/18.patch","issue_url":"https://api.github.com/repos/lsst/obs_lsstSim/issues/18","number":18,"state":"open","locked":false,"title":"Camera information primacy","user":{"login":"SimonKrughoff","id":945715,"avatar_url":"https://avatars.githubusercontent.com/u/945715?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonKrughoff","html_url":"https://github.com/SimonKrughoff","followers_url":"https://api.github.com/users/SimonKrughoff/followers","following_url":"https://api.github.com/users/SimonKrughoff/following{/other_user}","gists_url":"https://api.github.com/users/SimonKrughoff/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonKrughoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonKrughoff/subscriptions","organizations_url":"https://api.github.com/users/SimonKrughoff/orgs","repos_url":"https://api.github.com/users/SimonKrughoff/repos","events_url":"https://api.github.com/users/SimonKrughoff/events{/privacy}","received_events_url":"https://api.github.com/users/SimonKrughoff/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-24T23:49:47Z","updated_at":"2016-08-25T00:24:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"223583cc12a861a118a2fe454fa01db287466406","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lsst/obs_lsstSim/pulls/18/commits","review_comments_url":"https://api.github.com/repos/lsst/obs_lsstSim/pulls/18/comments","review_comment_url":"https://api.github.com/repos/lsst/obs_lsstSim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lsst/obs_lsstSim/issues/18/comments","statuses_url":"https://api.github.com/repos/lsst/obs_lsstSim/statuses/0c7d7a0551d393b73e67e41a26e7e20fa1a53e9e","head":{"label":"lsst:tickets/DM-6349","ref":"tickets/DM-6349","sha":"0c7d7a0551d393b73e67e41a26e7e20fa1a53e9e","user":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"repo":{"id":23013415,"name":"obs_lsstSim","full_name":"lsst/obs_lsstSim","owner":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lsst/obs_lsstSim","description":"Configuration and tasks for the simulated LSST camera (lsstSim) for the LSST Data Management Stack","fork":false,"url":"https://api.github.com/repos/lsst/obs_lsstSim","forks_url":"https://api.github.com/repos/lsst/obs_lsstSim/forks","keys_url":"https://api.github.com/repos/lsst/obs_lsstSim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lsst/obs_lsstSim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lsst/obs_lsstSim/teams","hooks_url":"https://api.github.com/repos/lsst/obs_lsstSim/hooks","issue_events_url":"https://api.github.com/repos/lsst/obs_lsstSim/issues/events{/number}","events_url":"https://api.github.com/repos/lsst/obs_lsstSim/events","assignees_url":"https://api.github.com/repos/lsst/obs_lsstSim/assignees{/user}","branches_url":"https://api.github.com/repos/lsst/obs_lsstSim/branches{/branch}","tags_url":"https://api.github.com/repos/lsst/obs_lsstSim/tags","blobs_url":"https://api.github.com/repos/lsst/obs_lsstSim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lsst/obs_lsstSim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lsst/obs_lsstSim/git/refs{/sha}","trees_url":"https://api.github.com/repos/lsst/obs_lsstSim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lsst/obs_lsstSim/statuses/{sha}","languages_url":"https://api.github.com/repos/lsst/obs_lsstSim/languages","stargazers_url":"https://api.github.com/repos/lsst/obs_lsstSim/stargazers","contributors_url":"https://api.github.com/repos/lsst/obs_lsstSim/contributors","subscribers_url":"https://api.github.com/repos/lsst/obs_lsstSim/subscribers","subscription_url":"https://api.github.com/repos/lsst/obs_lsstSim/subscription","commits_url":"https://api.github.com/repos/lsst/obs_lsstSim/commits{/sha}","git_commits_url":"https://api.github.com/repos/lsst/obs_lsstSim/git/commits{/sha}","comments_url":"https://api.github.com/repos/lsst/obs_lsstSim/comments{/number}","issue_comment_url":"https://api.github.com/repos/lsst/obs_lsstSim/issues/comments{/number}","contents_url":"https://api.github.com/repos/lsst/obs_lsstSim/contents/{+path}","compare_url":"https://api.github.com/repos/lsst/obs_lsstSim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lsst/obs_lsstSim/merges","archive_url":"https://api.github.com/repos/lsst/obs_lsstSim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lsst/obs_lsstSim/downloads","issues_url":"https://api.github.com/repos/lsst/obs_lsstSim/issues{/number}","pulls_url":"https://api.github.com/repos/lsst/obs_lsstSim/pulls{/number}","milestones_url":"https://api.github.com/repos/lsst/obs_lsstSim/milestones{/number}","notifications_url":"https://api.github.com/repos/lsst/obs_lsstSim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lsst/obs_lsstSim/labels{/name}","releases_url":"https://api.github.com/repos/lsst/obs_lsstSim/releases{/id}","deployments_url":"https://api.github.com/repos/lsst/obs_lsstSim/deployments","created_at":"2014-08-16T07:48:02Z","updated_at":"2016-01-11T18:53:41Z","pushed_at":"2016-08-24T23:49:47Z","git_url":"git://github.com/lsst/obs_lsstSim.git","ssh_url":"git@github.com:lsst/obs_lsstSim.git","clone_url":"https://github.com/lsst/obs_lsstSim.git","svn_url":"https://github.com/lsst/obs_lsstSim","homepage":"","size":40860,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"lsst:master","ref":"master","sha":"86a4862e58ce53438dccbc8e2298b94998623d33","user":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"repo":{"id":23013415,"name":"obs_lsstSim","full_name":"lsst/obs_lsstSim","owner":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lsst/obs_lsstSim","description":"Configuration and tasks for the simulated LSST camera (lsstSim) for the LSST Data Management Stack","fork":false,"url":"https://api.github.com/repos/lsst/obs_lsstSim","forks_url":"https://api.github.com/repos/lsst/obs_lsstSim/forks","keys_url":"https://api.github.com/repos/lsst/obs_lsstSim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lsst/obs_lsstSim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lsst/obs_lsstSim/teams","hooks_url":"https://api.github.com/repos/lsst/obs_lsstSim/hooks","issue_events_url":"https://api.github.com/repos/lsst/obs_lsstSim/issues/events{/number}","events_url":"https://api.github.com/repos/lsst/obs_lsstSim/events","assignees_url":"https://api.github.com/repos/lsst/obs_lsstSim/assignees{/user}","branches_url":"https://api.github.com/repos/lsst/obs_lsstSim/branches{/branch}","tags_url":"https://api.github.com/repos/lsst/obs_lsstSim/tags","blobs_url":"https://api.github.com/repos/lsst/obs_lsstSim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lsst/obs_lsstSim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lsst/obs_lsstSim/git/refs{/sha}","trees_url":"https://api.github.com/repos/lsst/obs_lsstSim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lsst/obs_lsstSim/statuses/{sha}","languages_url":"https://api.github.com/repos/lsst/obs_lsstSim/languages","stargazers_url":"https://api.github.com/repos/lsst/obs_lsstSim/stargazers","contributors_url":"https://api.github.com/repos/lsst/obs_lsstSim/contributors","subscribers_url":"https://api.github.com/repos/lsst/obs_lsstSim/subscribers","subscription_url":"https://api.github.com/repos/lsst/obs_lsstSim/subscription","commits_url":"https://api.github.com/repos/lsst/obs_lsstSim/commits{/sha}","git_commits_url":"https://api.github.com/repos/lsst/obs_lsstSim/git/commits{/sha}","comments_url":"https://api.github.com/repos/lsst/obs_lsstSim/comments{/number}","issue_comment_url":"https://api.github.com/repos/lsst/obs_lsstSim/issues/comments{/number}","contents_url":"https://api.github.com/repos/lsst/obs_lsstSim/contents/{+path}","compare_url":"https://api.github.com/repos/lsst/obs_lsstSim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lsst/obs_lsstSim/merges","archive_url":"https://api.github.com/repos/lsst/obs_lsstSim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lsst/obs_lsstSim/downloads","issues_url":"https://api.github.com/repos/lsst/obs_lsstSim/issues{/number}","pulls_url":"https://api.github.com/repos/lsst/obs_lsstSim/pulls{/number}","milestones_url":"https://api.github.com/repos/lsst/obs_lsstSim/milestones{/number}","notifications_url":"https://api.github.com/repos/lsst/obs_lsstSim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lsst/obs_lsstSim/labels{/name}","releases_url":"https://api.github.com/repos/lsst/obs_lsstSim/releases{/id}","deployments_url":"https://api.github.com/repos/lsst/obs_lsstSim/deployments","created_at":"2014-08-16T07:48:02Z","updated_at":"2016-01-11T18:53:41Z","pushed_at":"2016-08-24T23:49:47Z","git_url":"git://github.com/lsst/obs_lsstSim.git","ssh_url":"git@github.com:lsst/obs_lsstSim.git","clone_url":"https://github.com/lsst/obs_lsstSim.git","svn_url":"https://github.com/lsst/obs_lsstSim","homepage":"","size":40860,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lsst/obs_lsstSim/pulls/18"},"html":{"href":"https://github.com/lsst/obs_lsstSim/pull/18"},"issue":{"href":"https://api.github.com/repos/lsst/obs_lsstSim/issues/18"},"comments":{"href":"https://api.github.com/repos/lsst/obs_lsstSim/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/lsst/obs_lsstSim/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/lsst/obs_lsstSim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lsst/obs_lsstSim/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/lsst/obs_lsstSim/statuses/0c7d7a0551d393b73e67e41a26e7e20fa1a53e9e"}}}}
{"actor":{"display_login":"SimonKrughoff"}}