{"action":"closed","number":477,"pull_request":{"url":"https://api.github.com/repos/mapbox/rasterio/pulls/477","id":44714123,"html_url":"https://github.com/mapbox/rasterio/pull/477","diff_url":"https://github.com/mapbox/rasterio/pull/477.diff","patch_url":"https://github.com/mapbox/rasterio/pull/477.patch","issue_url":"https://api.github.com/repos/mapbox/rasterio/issues/477","number":477,"state":"closed","locked":false,"title":"fix overlap stop equal to zero bug, add tests","user":{"login":"perrygeo","id":1151287,"avatar_url":"https://avatars.githubusercontent.com/u/1151287?v=3","gravatar_id":"","url":"https://api.github.com/users/perrygeo","html_url":"https://github.com/perrygeo","followers_url":"https://api.github.com/users/perrygeo/followers","following_url":"https://api.github.com/users/perrygeo/following{/other_user}","gists_url":"https://api.github.com/users/perrygeo/gists{/gist_id}","starred_url":"https://api.github.com/users/perrygeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perrygeo/subscriptions","organizations_url":"https://api.github.com/users/perrygeo/orgs","repos_url":"https://api.github.com/users/perrygeo/repos","events_url":"https://api.github.com/users/perrygeo/events{/privacy}","received_events_url":"https://api.github.com/users/perrygeo/received_events","type":"User","site_admin":false},"body":"The overlap calculation logic had a bug when the `window[0][1]` or  `widow[1][1]` was equal to zero. The problem stems from the superfluous `or` statement which, in most cases, did absolutely nothing but in this particular edge case caused an error.\r\n\r\nResolves #476","created_at":"2015-09-10T20:18:13Z","updated_at":"2015-09-13T23:11:51Z","closed_at":"2015-09-13T23:11:51Z","merged_at":"2015-09-13T23:11:51Z","merge_commit_sha":"5ad33029913e44437985b6b636d1432982d134fc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/rasterio/pulls/477/commits","review_comments_url":"https://api.github.com/repos/mapbox/rasterio/pulls/477/comments","review_comment_url":"https://api.github.com/repos/mapbox/rasterio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/rasterio/issues/477/comments","statuses_url":"https://api.github.com/repos/mapbox/rasterio/statuses/552e9c0b8bc39a148729c753334678360ba52eda","head":{"label":"perrygeo:overlap_zero_bug","ref":"overlap_zero_bug","sha":"552e9c0b8bc39a148729c753334678360ba52eda","user":{"login":"perrygeo","id":1151287,"avatar_url":"https://avatars.githubusercontent.com/u/1151287?v=3","gravatar_id":"","url":"https://api.github.com/users/perrygeo","html_url":"https://github.com/perrygeo","followers_url":"https://api.github.com/users/perrygeo/followers","following_url":"https://api.github.com/users/perrygeo/following{/other_user}","gists_url":"https://api.github.com/users/perrygeo/gists{/gist_id}","starred_url":"https://api.github.com/users/perrygeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perrygeo/subscriptions","organizations_url":"https://api.github.com/users/perrygeo/orgs","repos_url":"https://api.github.com/users/perrygeo/repos","events_url":"https://api.github.com/users/perrygeo/events{/privacy}","received_events_url":"https://api.github.com/users/perrygeo/received_events","type":"User","site_admin":false},"repo":{"id":30157980,"name":"rasterio","full_name":"perrygeo/rasterio","owner":{"login":"perrygeo","id":1151287,"avatar_url":"https://avatars.githubusercontent.com/u/1151287?v=3","gravatar_id":"","url":"https://api.github.com/users/perrygeo","html_url":"https://github.com/perrygeo","followers_url":"https://api.github.com/users/perrygeo/followers","following_url":"https://api.github.com/users/perrygeo/following{/other_user}","gists_url":"https://api.github.com/users/perrygeo/gists{/gist_id}","starred_url":"https://api.github.com/users/perrygeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perrygeo/subscriptions","organizations_url":"https://api.github.com/users/perrygeo/orgs","repos_url":"https://api.github.com/users/perrygeo/repos","events_url":"https://api.github.com/users/perrygeo/events{/privacy}","received_events_url":"https://api.github.com/users/perrygeo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/perrygeo/rasterio","description":"Clean and fast and geospatial raster I/O for Python programmers who use Numpy","fork":true,"url":"https://api.github.com/repos/perrygeo/rasterio","forks_url":"https://api.github.com/repos/perrygeo/rasterio/forks","keys_url":"https://api.github.com/repos/perrygeo/rasterio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/perrygeo/rasterio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/perrygeo/rasterio/teams","hooks_url":"https://api.github.com/repos/perrygeo/rasterio/hooks","issue_events_url":"https://api.github.com/repos/perrygeo/rasterio/issues/events{/number}","events_url":"https://api.github.com/repos/perrygeo/rasterio/events","assignees_url":"https://api.github.com/repos/perrygeo/rasterio/assignees{/user}","branches_url":"https://api.github.com/repos/perrygeo/rasterio/branches{/branch}","tags_url":"https://api.github.com/repos/perrygeo/rasterio/tags","blobs_url":"https://api.github.com/repos/perrygeo/rasterio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/perrygeo/rasterio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/perrygeo/rasterio/git/refs{/sha}","trees_url":"https://api.github.com/repos/perrygeo/rasterio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/perrygeo/rasterio/statuses/{sha}","languages_url":"https://api.github.com/repos/perrygeo/rasterio/languages","stargazers_url":"https://api.github.com/repos/perrygeo/rasterio/stargazers","contributors_url":"https://api.github.com/repos/perrygeo/rasterio/contributors","subscribers_url":"https://api.github.com/repos/perrygeo/rasterio/subscribers","subscription_url":"https://api.github.com/repos/perrygeo/rasterio/subscription","commits_url":"https://api.github.com/repos/perrygeo/rasterio/commits{/sha}","git_commits_url":"https://api.github.com/repos/perrygeo/rasterio/git/commits{/sha}","comments_url":"https://api.github.com/repos/perrygeo/rasterio/comments{/number}","issue_comment_url":"https://api.github.com/repos/perrygeo/rasterio/issues/comments{/number}","contents_url":"https://api.github.com/repos/perrygeo/rasterio/contents/{+path}","compare_url":"https://api.github.com/repos/perrygeo/rasterio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/perrygeo/rasterio/merges","archive_url":"https://api.github.com/repos/perrygeo/rasterio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/perrygeo/rasterio/downloads","issues_url":"https://api.github.com/repos/perrygeo/rasterio/issues{/number}","pulls_url":"https://api.github.com/repos/perrygeo/rasterio/pulls{/number}","milestones_url":"https://api.github.com/repos/perrygeo/rasterio/milestones{/number}","notifications_url":"https://api.github.com/repos/perrygeo/rasterio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/perrygeo/rasterio/labels{/name}","releases_url":"https://api.github.com/repos/perrygeo/rasterio/releases{/id}","created_at":"2015-02-01T20:04:09Z","updated_at":"2015-02-08T01:22:47Z","pushed_at":"2015-09-11T15:49:54Z","git_url":"git://github.com/perrygeo/rasterio.git","ssh_url":"git@github.com:perrygeo/rasterio.git","clone_url":"https://github.com/perrygeo/rasterio.git","svn_url":"https://github.com/perrygeo/rasterio","homepage":"","size":2327,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"mapbox:master","ref":"master","sha":"e6b20f40625ff7dc544bb175488645aa2b973068","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":14116604,"name":"rasterio","full_name":"mapbox/rasterio","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/rasterio","description":"Clean and fast and geospatial raster I/O for Python programmers who use Numpy","fork":false,"url":"https://api.github.com/repos/mapbox/rasterio","forks_url":"https://api.github.com/repos/mapbox/rasterio/forks","keys_url":"https://api.github.com/repos/mapbox/rasterio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/rasterio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/rasterio/teams","hooks_url":"https://api.github.com/repos/mapbox/rasterio/hooks","issue_events_url":"https://api.github.com/repos/mapbox/rasterio/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/rasterio/events","assignees_url":"https://api.github.com/repos/mapbox/rasterio/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/rasterio/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/rasterio/tags","blobs_url":"https://api.github.com/repos/mapbox/rasterio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/rasterio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/rasterio/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/rasterio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/rasterio/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/rasterio/languages","stargazers_url":"https://api.github.com/repos/mapbox/rasterio/stargazers","contributors_url":"https://api.github.com/repos/mapbox/rasterio/contributors","subscribers_url":"https://api.github.com/repos/mapbox/rasterio/subscribers","subscription_url":"https://api.github.com/repos/mapbox/rasterio/subscription","commits_url":"https://api.github.com/repos/mapbox/rasterio/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/rasterio/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/rasterio/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/rasterio/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/rasterio/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/rasterio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/rasterio/merges","archive_url":"https://api.github.com/repos/mapbox/rasterio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/rasterio/downloads","issues_url":"https://api.github.com/repos/mapbox/rasterio/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/rasterio/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/rasterio/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/rasterio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/rasterio/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/rasterio/releases{/id}","created_at":"2013-11-04T16:36:27Z","updated_at":"2015-09-08T14:18:07Z","pushed_at":"2015-09-13T23:11:51Z","git_url":"git://github.com/mapbox/rasterio.git","ssh_url":"git@github.com:mapbox/rasterio.git","clone_url":"https://github.com/mapbox/rasterio.git","svn_url":"https://github.com/mapbox/rasterio","homepage":"","size":6150,"stargazers_count":296,"watchers_count":296,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":68,"mirror_url":null,"open_issues_count":35,"forks":68,"open_issues":35,"watchers":296,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/rasterio/pulls/477"},"html":{"href":"https://github.com/mapbox/rasterio/pull/477"},"issue":{"href":"https://api.github.com/repos/mapbox/rasterio/issues/477"},"comments":{"href":"https://api.github.com/repos/mapbox/rasterio/issues/477/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/rasterio/pulls/477/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/rasterio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/rasterio/pulls/477/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/rasterio/statuses/552e9c0b8bc39a148729c753334678360ba52eda"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sgillies","id":33697,"avatar_url":"https://avatars.githubusercontent.com/u/33697?v=3","gravatar_id":"","url":"https://api.github.com/users/sgillies","html_url":"https://github.com/sgillies","followers_url":"https://api.github.com/users/sgillies/followers","following_url":"https://api.github.com/users/sgillies/following{/other_user}","gists_url":"https://api.github.com/users/sgillies/gists{/gist_id}","starred_url":"https://api.github.com/users/sgillies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgillies/subscriptions","organizations_url":"https://api.github.com/users/sgillies/orgs","repos_url":"https://api.github.com/users/sgillies/repos","events_url":"https://api.github.com/users/sgillies/events{/privacy}","received_events_url":"https://api.github.com/users/sgillies/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":23,"deletions":8,"changed_files":2}}