{"action":"created","issue":{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/310","labels_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/310/comments","events_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/310/events","html_url":"https://github.com/MDAnalysis/mdanalysis/issues/310","id":88282466,"number":310,"title":"Change frame numbering from 1-based to 0-based","user":{"login":"dotsdl","id":1326811,"avatar_url":"https://avatars.githubusercontent.com/u/1326811?v=3","gravatar_id":"","url":"https://api.github.com/users/dotsdl","html_url":"https://github.com/dotsdl","followers_url":"https://api.github.com/users/dotsdl/followers","following_url":"https://api.github.com/users/dotsdl/following{/other_user}","gists_url":"https://api.github.com/users/dotsdl/gists{/gist_id}","starred_url":"https://api.github.com/users/dotsdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotsdl/subscriptions","organizations_url":"https://api.github.com/users/dotsdl/orgs","repos_url":"https://api.github.com/users/dotsdl/repos","events_url":"https://api.github.com/users/dotsdl/events{/privacy}","received_events_url":"https://api.github.com/users/dotsdl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/labels/API","name":"API","color":"eb6420"},{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/labels/Component-Readers","name":"Component-Readers","color":"0052cc"},{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/labels/Priority-Medium","name":"Priority-Medium","color":"fbca04"},{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/labels/usability","name":"usability","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"dotsdl","id":1326811,"avatar_url":"https://avatars.githubusercontent.com/u/1326811?v=3","gravatar_id":"","url":"https://api.github.com/users/dotsdl","html_url":"https://github.com/dotsdl","followers_url":"https://api.github.com/users/dotsdl/followers","following_url":"https://api.github.com/users/dotsdl/following{/other_user}","gists_url":"https://api.github.com/users/dotsdl/gists{/gist_id}","starred_url":"https://api.github.com/users/dotsdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotsdl/subscriptions","organizations_url":"https://api.github.com/users/dotsdl/orgs","repos_url":"https://api.github.com/users/dotsdl/repos","events_url":"https://api.github.com/users/dotsdl/events{/privacy}","received_events_url":"https://api.github.com/users/dotsdl/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/milestones/3","html_url":"https://github.com/MDAnalysis/mdanalysis/milestones/0.11","labels_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/milestones/3/labels","id":1076757,"number":3,"title":"0.11","description":"API overhaul release","creator":{"login":"richardjgowers","id":9249543,"avatar_url":"https://avatars.githubusercontent.com/u/9249543?v=3","gravatar_id":"","url":"https://api.github.com/users/richardjgowers","html_url":"https://github.com/richardjgowers","followers_url":"https://api.github.com/users/richardjgowers/followers","following_url":"https://api.github.com/users/richardjgowers/following{/other_user}","gists_url":"https://api.github.com/users/richardjgowers/gists{/gist_id}","starred_url":"https://api.github.com/users/richardjgowers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardjgowers/subscriptions","organizations_url":"https://api.github.com/users/richardjgowers/orgs","repos_url":"https://api.github.com/users/richardjgowers/repos","events_url":"https://api.github.com/users/richardjgowers/events{/privacy}","received_events_url":"https://api.github.com/users/richardjgowers/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":17,"state":"open","created_at":"2015-04-21T09:19:32Z","updated_at":"2015-06-20T15:08:50Z","due_on":"2015-06-30T07:00:00Z","closed_at":null},"comments":23,"created_at":"2015-06-15T01:24:14Z","updated_at":"2015-06-21T18:42:29Z","closed_at":null,"body":"Subtask for #252:\r\n\r\nWe want to make frame numbering start from 0 so that indexing with, say:\r\n\r\n```python\r\nu = mda.Universe(GRO, XTC)\r\nu.trajectory[0]\r\n```\r\ngives frame 0 instead of frame 1. This change will likely break lots of code that includes ``ts.frame + 1`` and ``ts.frame - 1`` and the like; will need to go through the code with a fine-toothed comb for these instances, using the tests as markers for trouble."},"comment":{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/comments/113939953","html_url":"https://github.com/MDAnalysis/mdanalysis/issues/310#issuecomment-113939953","issue_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/310","id":113939953,"user":{"login":"dotsdl","id":1326811,"avatar_url":"https://avatars.githubusercontent.com/u/1326811?v=3","gravatar_id":"","url":"https://api.github.com/users/dotsdl","html_url":"https://github.com/dotsdl","followers_url":"https://api.github.com/users/dotsdl/followers","following_url":"https://api.github.com/users/dotsdl/following{/other_user}","gists_url":"https://api.github.com/users/dotsdl/gists{/gist_id}","starred_url":"https://api.github.com/users/dotsdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotsdl/subscriptions","organizations_url":"https://api.github.com/users/dotsdl/orgs","repos_url":"https://api.github.com/users/dotsdl/repos","events_url":"https://api.github.com/users/dotsdl/events{/privacy}","received_events_url":"https://api.github.com/users/dotsdl/received_events","type":"User","site_admin":false},"created_at":"2015-06-21T18:42:29Z","updated_at":"2015-06-21T18:42:29Z","body":"Awesome. The only test we need to fix now is the ``test_XYZReader`` in ``test_streamio.py``. @orbeckst, I noticed a note in the ``XYZReader``(line 270 in ``coordinates/XYZ.py`` that indicates ``self._read_next_timestep()`` upon init is rather fragile. I'll defer to you on what the best fix here looks like."}}