{"action":"created","issue":{"url":"https://api.github.com/repos/kbat/mc-tools/issues/2","labels_url":"https://api.github.com/repos/kbat/mc-tools/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/kbat/mc-tools/issues/2/comments","events_url":"https://api.github.com/repos/kbat/mc-tools/issues/2/events","html_url":"https://github.com/kbat/mc-tools/issues/2","id":65696751,"number":2,"title":"angel2root: 2D histo conversion is wrong","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kbat/mc-tools/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/kbat/mc-tools/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/kbat/mc-tools/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-01T14:16:20Z","updated_at":"2015-11-02T12:46:36Z","closed_at":null,"body":"```\nWith mesh = xyz and a 2D axis (e.g., yz), the bin contents of TH2 are read in a \nwrong sequence. It seems this is the case only when the x- and y-axes have both \nnegative and positive values. An input file example is attached.\n```\n\nOriginal issue reported on code.google.com by `batkov` on 20 Jan 2012 at 12:43\n\nAttachments:\n* [test7w.phits](https://storage.googleapis.com/google-code-attachments/mc-tools/issue-2/comment-0/test7w.phits)\n"},"comment":{"url":"https://api.github.com/repos/kbat/mc-tools/issues/comments/153007920","html_url":"https://github.com/kbat/mc-tools/issues/2#issuecomment-153007920","issue_url":"https://api.github.com/repos/kbat/mc-tools/issues/2","id":153007920,"user":{"login":"furutaka","id":1713040,"avatar_url":"https://avatars.githubusercontent.com/u/1713040?v=3","gravatar_id":"","url":"https://api.github.com/users/furutaka","html_url":"https://github.com/furutaka","followers_url":"https://api.github.com/users/furutaka/followers","following_url":"https://api.github.com/users/furutaka/following{/other_user}","gists_url":"https://api.github.com/users/furutaka/gists{/gist_id}","starred_url":"https://api.github.com/users/furutaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/furutaka/subscriptions","organizations_url":"https://api.github.com/users/furutaka/orgs","repos_url":"https://api.github.com/users/furutaka/repos","events_url":"https://api.github.com/users/furutaka/events{/privacy}","received_events_url":"https://api.github.com/users/furutaka/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T12:46:36Z","updated_at":"2015-11-02T12:46:36Z","body":"We often do it with angel2root.\r\n\r\nObserving the following, it seems that it still does...  At the least the conversion failed.   I'll see it later when I have time.\r\n```\r\n[furutaka@peart Downloads]$ angel2root test7w.phits \r\ntest7w.phits -> test7w.phits.root\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/angel2root\", line 9, in <module>\r\n    load_entry_point('mc-tools===v1.0.post1-6-gd361e58', 'console_scripts', 'angel2root')()\r\n  File \"/usr/lib/python2.7/site-packages/mc_tools/phits/angel2root.py\", line 609, in main\r\n    angel =  Angel(fname_in, fname_out,avBitSet=args.average)\r\n  File \"/usr/lib/python2.7/site-packages/mc_tools/phits/angel2root.py\", line 116, in __init__\r\n    pageLST.append( tuple( self.lines[:pageSepLineLST[0]] ) )\r\nIndexError: list index out of range\r\n```"}}