{"action":"created","issue":{"url":"https://api.github.com/repos/ContinuumIO/nutchpy/issues/15","labels_url":"https://api.github.com/repos/ContinuumIO/nutchpy/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/ContinuumIO/nutchpy/issues/15/comments","events_url":"https://api.github.com/repos/ContinuumIO/nutchpy/issues/15/events","html_url":"https://github.com/ContinuumIO/nutchpy/issues/15","id":108363527,"number":15,"title":"sequence_reader.slice() is skipping the first record in sequence file","user":{"login":"thammegowda","id":1865964,"avatar_url":"https://avatars.githubusercontent.com/u/1865964?v=3","gravatar_id":"","url":"https://api.github.com/users/thammegowda","html_url":"https://github.com/thammegowda","followers_url":"https://api.github.com/users/thammegowda/followers","following_url":"https://api.github.com/users/thammegowda/following{/other_user}","gists_url":"https://api.github.com/users/thammegowda/gists{/gist_id}","starred_url":"https://api.github.com/users/thammegowda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thammegowda/subscriptions","organizations_url":"https://api.github.com/users/thammegowda/orgs","repos_url":"https://api.github.com/users/thammegowda/repos","events_url":"https://api.github.com/users/thammegowda/events{/privacy}","received_events_url":"https://api.github.com/users/thammegowda/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-25T16:51:33Z","updated_at":"2015-09-26T04:39:23Z","closed_at":"2015-09-26T04:39:23Z","body":"Test case:\r\n\r\n```python\r\nimport os\r\nimport nutchpy\r\n\r\npath = os.path.dirname(nutchpy.__file__)\r\npath = os.path.join(path,\"ex_data\", \"crawldb_data\")\r\n\r\nfirst_slice = nutchpy.sequence_reader.slice(0, 2, path)\r\nhead = nutchpy.sequence_reader.head(2, path)\r\nprint \"Head = %s\\nSlice=%s\" % (head[0][0], first_slice[0][0])\r\nassert first_slice[0][0] == head[0][0]\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/ContinuumIO/nutchpy/issues/comments/143398646","html_url":"https://github.com/ContinuumIO/nutchpy/issues/15#issuecomment-143398646","issue_url":"https://api.github.com/repos/ContinuumIO/nutchpy/issues/15","id":143398646,"user":{"login":"chrismattmann","id":395887,"avatar_url":"https://avatars.githubusercontent.com/u/395887?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismattmann","html_url":"https://github.com/chrismattmann","followers_url":"https://api.github.com/users/chrismattmann/followers","following_url":"https://api.github.com/users/chrismattmann/following{/other_user}","gists_url":"https://api.github.com/users/chrismattmann/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismattmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismattmann/subscriptions","organizations_url":"https://api.github.com/users/chrismattmann/orgs","repos_url":"https://api.github.com/users/chrismattmann/repos","events_url":"https://api.github.com/users/chrismattmann/events{/privacy}","received_events_url":"https://api.github.com/users/chrismattmann/received_events","type":"User","site_admin":false},"created_at":"2015-09-26T04:39:23Z","updated_at":"2015-09-26T04:39:23Z","body":"fixed in #16 right?"}}