{"action":"created","issue":{"url":"https://api.github.com/repos/IQuOD/wodpy/issues/8","repository_url":"https://api.github.com/repos/IQuOD/wodpy","labels_url":"https://api.github.com/repos/IQuOD/wodpy/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/IQuOD/wodpy/issues/8/comments","events_url":"https://api.github.com/repos/IQuOD/wodpy/issues/8/events","html_url":"https://github.com/IQuOD/wodpy/issues/8","id":137634058,"number":8,"title":"simpler file navigation utilities","user":{"login":"BillMills","id":1896943,"avatar_url":"https://avatars.githubusercontent.com/u/1896943?v=3","gravatar_id":"","url":"https://api.github.com/users/BillMills","html_url":"https://github.com/BillMills","followers_url":"https://api.github.com/users/BillMills/followers","following_url":"https://api.github.com/users/BillMills/following{/other_user}","gists_url":"https://api.github.com/users/BillMills/gists{/gist_id}","starred_url":"https://api.github.com/users/BillMills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BillMills/subscriptions","organizations_url":"https://api.github.com/users/BillMills/orgs","repos_url":"https://api.github.com/users/BillMills/repos","events_url":"https://api.github.com/users/BillMills/events{/privacy}","received_events_url":"https://api.github.com/users/BillMills/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IQuOD/wodpy/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-01T17:12:54Z","updated_at":"2016-03-02T04:55:29Z","closed_at":null,"body":"Regarding #6, it's not as simple as it could be for a user to walk around the file. For example, `is_last_profile_in_file` works in a guessable way on a `WodProfile` class, but `advance_file_position_to_next_profile` appears to do nothing, thanks (I think) to some pass-by-value-ism in how Python is thinking of the `fid` variable.\r\n\r\nIt'd be nice to have a set of functions with the semantic meaning:\r\n\r\n - skip to the next profile\r\n - rewind to the start of this profile\r\n - skip to the previous profile\r\n - skip to the first profile\r\n - skip to the last profile\r\n\r\nMuch of this functionality already exists, but as detailed above, isn't totally obvious in usage."},"comment":{"url":"https://api.github.com/repos/IQuOD/wodpy/issues/comments/191061025","html_url":"https://github.com/IQuOD/wodpy/issues/8#issuecomment-191061025","issue_url":"https://api.github.com/repos/IQuOD/wodpy/issues/8","id":191061025,"user":{"login":"BillMills","id":1896943,"avatar_url":"https://avatars.githubusercontent.com/u/1896943?v=3","gravatar_id":"","url":"https://api.github.com/users/BillMills","html_url":"https://github.com/BillMills","followers_url":"https://api.github.com/users/BillMills/followers","following_url":"https://api.github.com/users/BillMills/following{/other_user}","gists_url":"https://api.github.com/users/BillMills/gists{/gist_id}","starred_url":"https://api.github.com/users/BillMills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BillMills/subscriptions","organizations_url":"https://api.github.com/users/BillMills/orgs","repos_url":"https://api.github.com/users/BillMills/repos","events_url":"https://api.github.com/users/BillMills/events{/privacy}","received_events_url":"https://api.github.com/users/BillMills/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T04:55:29Z","updated_at":"2016-03-02T04:55:29Z","body":"Have a look at the end of your datafile and check:\r\n\r\n - is the last line 80 characters long (filling in with spaces if there isn't that much data)\r\n - does the file end with one blank line?\r\n\r\nThe wod spec requires ascii wod files to consist exclusively of 80-character lines terminated in a newline character - which is easy to miss! I can reproduce your error iff I remove my trailing whitespace."}}