{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/cta-observatory/pyhessio/pulls/6","id":51799372,"html_url":"https://github.com/cta-observatory/pyhessio/pull/6","diff_url":"https://github.com/cta-observatory/pyhessio/pull/6.diff","patch_url":"https://github.com/cta-observatory/pyhessio/pull/6.patch","issue_url":"https://api.github.com/repos/cta-observatory/pyhessio/issues/6","number":6,"state":"closed","locked":false,"title":"Move to next mc event, fov offset and verbosity when opening file","user":{"login":"elehcim","id":1649109,"avatar_url":"https://avatars.githubusercontent.com/u/1649109?v=3","gravatar_id":"","url":"https://api.github.com/users/elehcim","html_url":"https://github.com/elehcim","followers_url":"https://api.github.com/users/elehcim/followers","following_url":"https://api.github.com/users/elehcim/following{/other_user}","gists_url":"https://api.github.com/users/elehcim/gists{/gist_id}","starred_url":"https://api.github.com/users/elehcim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elehcim/subscriptions","organizations_url":"https://api.github.com/users/elehcim/orgs","repos_url":"https://api.github.com/users/elehcim/repos","events_url":"https://api.github.com/users/elehcim/events{/privacy}","received_events_url":"https://api.github.com/users/elehcim/received_events","type":"User","site_admin":false},"body":"Having to read all the simulated events (not only the triggered ones) I added the `move_to_next_mc_event` iterator.\r\n\r\nI also added a getter to obtain the offset of pointing direction in camera f.o.v.\r\n\r\nTo retrieve the information I need, I didn't find other ways than reopening the file (triggering a new filling of hsdata struct, one with HESS_EVENT, once with HESS_MC_EVENT). Multiple messages about opening the input were shown. I removed the messages also because I think having the assert is sufficient to be sure that the operation went well. Maybe it is possible to add a verbosity parameter to that function triggering or not the messages. You can drop this modification if you prefer, this is very low importance.\r\nThanks,\r\nMichele","created_at":"2015-11-25T14:19:37Z","updated_at":"2015-12-04T08:19:14Z","closed_at":"2015-12-04T08:19:14Z","merged_at":"2015-12-04T08:19:14Z","merge_commit_sha":"2a666d6c3a62a9aeaf8acc1b6385043fec261396","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cta-observatory/pyhessio/pulls/6/commits","review_comments_url":"https://api.github.com/repos/cta-observatory/pyhessio/pulls/6/comments","review_comment_url":"https://api.github.com/repos/cta-observatory/pyhessio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cta-observatory/pyhessio/issues/6/comments","statuses_url":"https://api.github.com/repos/cta-observatory/pyhessio/statuses/55da3a1daf37d2a78ae18e918854fb320e697a25","head":{"label":"elehcim:move_to_next_mc_event","ref":"move_to_next_mc_event","sha":"55da3a1daf37d2a78ae18e918854fb320e697a25","user":{"login":"elehcim","id":1649109,"avatar_url":"https://avatars.githubusercontent.com/u/1649109?v=3","gravatar_id":"","url":"https://api.github.com/users/elehcim","html_url":"https://github.com/elehcim","followers_url":"https://api.github.com/users/elehcim/followers","following_url":"https://api.github.com/users/elehcim/following{/other_user}","gists_url":"https://api.github.com/users/elehcim/gists{/gist_id}","starred_url":"https://api.github.com/users/elehcim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elehcim/subscriptions","organizations_url":"https://api.github.com/users/elehcim/orgs","repos_url":"https://api.github.com/users/elehcim/repos","events_url":"https://api.github.com/users/elehcim/events{/privacy}","received_events_url":"https://api.github.com/users/elehcim/received_events","type":"User","site_admin":false},"repo":{"id":46630709,"name":"pyhessio","full_name":"elehcim/pyhessio","owner":{"login":"elehcim","id":1649109,"avatar_url":"https://avatars.githubusercontent.com/u/1649109?v=3","gravatar_id":"","url":"https://api.github.com/users/elehcim","html_url":"https://github.com/elehcim","followers_url":"https://api.github.com/users/elehcim/followers","following_url":"https://api.github.com/users/elehcim/following{/other_user}","gists_url":"https://api.github.com/users/elehcim/gists{/gist_id}","starred_url":"https://api.github.com/users/elehcim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elehcim/subscriptions","organizations_url":"https://api.github.com/users/elehcim/orgs","repos_url":"https://api.github.com/users/elehcim/repos","events_url":"https://api.github.com/users/elehcim/events{/privacy}","received_events_url":"https://api.github.com/users/elehcim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elehcim/pyhessio","description":"Anaconda version of CTA Python wrapper for hessio event format that is used in output of simtel_array.","fork":true,"url":"https://api.github.com/repos/elehcim/pyhessio","forks_url":"https://api.github.com/repos/elehcim/pyhessio/forks","keys_url":"https://api.github.com/repos/elehcim/pyhessio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elehcim/pyhessio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elehcim/pyhessio/teams","hooks_url":"https://api.github.com/repos/elehcim/pyhessio/hooks","issue_events_url":"https://api.github.com/repos/elehcim/pyhessio/issues/events{/number}","events_url":"https://api.github.com/repos/elehcim/pyhessio/events","assignees_url":"https://api.github.com/repos/elehcim/pyhessio/assignees{/user}","branches_url":"https://api.github.com/repos/elehcim/pyhessio/branches{/branch}","tags_url":"https://api.github.com/repos/elehcim/pyhessio/tags","blobs_url":"https://api.github.com/repos/elehcim/pyhessio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elehcim/pyhessio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elehcim/pyhessio/git/refs{/sha}","trees_url":"https://api.github.com/repos/elehcim/pyhessio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elehcim/pyhessio/statuses/{sha}","languages_url":"https://api.github.com/repos/elehcim/pyhessio/languages","stargazers_url":"https://api.github.com/repos/elehcim/pyhessio/stargazers","contributors_url":"https://api.github.com/repos/elehcim/pyhessio/contributors","subscribers_url":"https://api.github.com/repos/elehcim/pyhessio/subscribers","subscription_url":"https://api.github.com/repos/elehcim/pyhessio/subscription","commits_url":"https://api.github.com/repos/elehcim/pyhessio/commits{/sha}","git_commits_url":"https://api.github.com/repos/elehcim/pyhessio/git/commits{/sha}","comments_url":"https://api.github.com/repos/elehcim/pyhessio/comments{/number}","issue_comment_url":"https://api.github.com/repos/elehcim/pyhessio/issues/comments{/number}","contents_url":"https://api.github.com/repos/elehcim/pyhessio/contents/{+path}","compare_url":"https://api.github.com/repos/elehcim/pyhessio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elehcim/pyhessio/merges","archive_url":"https://api.github.com/repos/elehcim/pyhessio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elehcim/pyhessio/downloads","issues_url":"https://api.github.com/repos/elehcim/pyhessio/issues{/number}","pulls_url":"https://api.github.com/repos/elehcim/pyhessio/pulls{/number}","milestones_url":"https://api.github.com/repos/elehcim/pyhessio/milestones{/number}","notifications_url":"https://api.github.com/repos/elehcim/pyhessio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elehcim/pyhessio/labels{/name}","releases_url":"https://api.github.com/repos/elehcim/pyhessio/releases{/id}","created_at":"2015-11-21T19:42:05Z","updated_at":"2015-11-21T19:42:06Z","pushed_at":"2015-12-03T23:17:45Z","git_url":"git://github.com/elehcim/pyhessio.git","ssh_url":"git@github.com:elehcim/pyhessio.git","clone_url":"https://github.com/elehcim/pyhessio.git","svn_url":"https://github.com/elehcim/pyhessio","homepage":null,"size":481,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cta-observatory:master","ref":"master","sha":"bdbe4195a54edf176ab74cac58ee8be360bc16e3","user":{"login":"cta-observatory","id":13019529,"avatar_url":"https://avatars.githubusercontent.com/u/13019529?v=3","gravatar_id":"","url":"https://api.github.com/users/cta-observatory","html_url":"https://github.com/cta-observatory","followers_url":"https://api.github.com/users/cta-observatory/followers","following_url":"https://api.github.com/users/cta-observatory/following{/other_user}","gists_url":"https://api.github.com/users/cta-observatory/gists{/gist_id}","starred_url":"https://api.github.com/users/cta-observatory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cta-observatory/subscriptions","organizations_url":"https://api.github.com/users/cta-observatory/orgs","repos_url":"https://api.github.com/users/cta-observatory/repos","events_url":"https://api.github.com/users/cta-observatory/events{/privacy}","received_events_url":"https://api.github.com/users/cta-observatory/received_events","type":"Organization","site_admin":false},"repo":{"id":46114778,"name":"pyhessio","full_name":"cta-observatory/pyhessio","owner":{"login":"cta-observatory","id":13019529,"avatar_url":"https://avatars.githubusercontent.com/u/13019529?v=3","gravatar_id":"","url":"https://api.github.com/users/cta-observatory","html_url":"https://github.com/cta-observatory","followers_url":"https://api.github.com/users/cta-observatory/followers","following_url":"https://api.github.com/users/cta-observatory/following{/other_user}","gists_url":"https://api.github.com/users/cta-observatory/gists{/gist_id}","starred_url":"https://api.github.com/users/cta-observatory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cta-observatory/subscriptions","organizations_url":"https://api.github.com/users/cta-observatory/orgs","repos_url":"https://api.github.com/users/cta-observatory/repos","events_url":"https://api.github.com/users/cta-observatory/events{/privacy}","received_events_url":"https://api.github.com/users/cta-observatory/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cta-observatory/pyhessio","description":"Anaconda version of CTA Python wrapper for hessio event format that is used in output of simtel_array.","fork":false,"url":"https://api.github.com/repos/cta-observatory/pyhessio","forks_url":"https://api.github.com/repos/cta-observatory/pyhessio/forks","keys_url":"https://api.github.com/repos/cta-observatory/pyhessio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cta-observatory/pyhessio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cta-observatory/pyhessio/teams","hooks_url":"https://api.github.com/repos/cta-observatory/pyhessio/hooks","issue_events_url":"https://api.github.com/repos/cta-observatory/pyhessio/issues/events{/number}","events_url":"https://api.github.com/repos/cta-observatory/pyhessio/events","assignees_url":"https://api.github.com/repos/cta-observatory/pyhessio/assignees{/user}","branches_url":"https://api.github.com/repos/cta-observatory/pyhessio/branches{/branch}","tags_url":"https://api.github.com/repos/cta-observatory/pyhessio/tags","blobs_url":"https://api.github.com/repos/cta-observatory/pyhessio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cta-observatory/pyhessio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cta-observatory/pyhessio/git/refs{/sha}","trees_url":"https://api.github.com/repos/cta-observatory/pyhessio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cta-observatory/pyhessio/statuses/{sha}","languages_url":"https://api.github.com/repos/cta-observatory/pyhessio/languages","stargazers_url":"https://api.github.com/repos/cta-observatory/pyhessio/stargazers","contributors_url":"https://api.github.com/repos/cta-observatory/pyhessio/contributors","subscribers_url":"https://api.github.com/repos/cta-observatory/pyhessio/subscribers","subscription_url":"https://api.github.com/repos/cta-observatory/pyhessio/subscription","commits_url":"https://api.github.com/repos/cta-observatory/pyhessio/commits{/sha}","git_commits_url":"https://api.github.com/repos/cta-observatory/pyhessio/git/commits{/sha}","comments_url":"https://api.github.com/repos/cta-observatory/pyhessio/comments{/number}","issue_comment_url":"https://api.github.com/repos/cta-observatory/pyhessio/issues/comments{/number}","contents_url":"https://api.github.com/repos/cta-observatory/pyhessio/contents/{+path}","compare_url":"https://api.github.com/repos/cta-observatory/pyhessio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cta-observatory/pyhessio/merges","archive_url":"https://api.github.com/repos/cta-observatory/pyhessio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cta-observatory/pyhessio/downloads","issues_url":"https://api.github.com/repos/cta-observatory/pyhessio/issues{/number}","pulls_url":"https://api.github.com/repos/cta-observatory/pyhessio/pulls{/number}","milestones_url":"https://api.github.com/repos/cta-observatory/pyhessio/milestones{/number}","notifications_url":"https://api.github.com/repos/cta-observatory/pyhessio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cta-observatory/pyhessio/labels{/name}","releases_url":"https://api.github.com/repos/cta-observatory/pyhessio/releases{/id}","created_at":"2015-11-13T10:12:04Z","updated_at":"2015-11-24T13:22:57Z","pushed_at":"2015-12-04T08:19:14Z","git_url":"git://github.com/cta-observatory/pyhessio.git","ssh_url":"git@github.com:cta-observatory/pyhessio.git","clone_url":"https://github.com/cta-observatory/pyhessio.git","svn_url":"https://github.com/cta-observatory/pyhessio","homepage":null,"size":488,"stargazers_count":2,"watchers_count":2,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cta-observatory/pyhessio/pulls/6"},"html":{"href":"https://github.com/cta-observatory/pyhessio/pull/6"},"issue":{"href":"https://api.github.com/repos/cta-observatory/pyhessio/issues/6"},"comments":{"href":"https://api.github.com/repos/cta-observatory/pyhessio/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/cta-observatory/pyhessio/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/cta-observatory/pyhessio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cta-observatory/pyhessio/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/cta-observatory/pyhessio/statuses/55da3a1daf37d2a78ae18e918854fb320e697a25"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jacquemier","id":13165509,"avatar_url":"https://avatars.githubusercontent.com/u/13165509?v=3","gravatar_id":"","url":"https://api.github.com/users/jacquemier","html_url":"https://github.com/jacquemier","followers_url":"https://api.github.com/users/jacquemier/followers","following_url":"https://api.github.com/users/jacquemier/following{/other_user}","gists_url":"https://api.github.com/users/jacquemier/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquemier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquemier/subscriptions","organizations_url":"https://api.github.com/users/jacquemier/orgs","repos_url":"https://api.github.com/users/jacquemier/repos","events_url":"https://api.github.com/users/jacquemier/events{/privacy}","received_events_url":"https://api.github.com/users/jacquemier/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":4,"additions":160,"deletions":71,"changed_files":3}}