{"action":"closed","number":20,"pull_request":{"url":"https://api.github.com/repos/BNUCNL/region-growing-froi/pulls/20","id":38523803,"html_url":"https://github.com/BNUCNL/region-growing-froi/pull/20","diff_url":"https://github.com/BNUCNL/region-growing-froi/pull/20.diff","patch_url":"https://github.com/BNUCNL/region-growing-froi/pull/20.patch","issue_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/issues/20","number":20,"state":"closed","locked":false,"title":"Modified some code to make it look more structured.","user":{"login":"zhouguangfu","id":5118633,"avatar_url":"https://avatars.githubusercontent.com/u/5118633?v=3","gravatar_id":"","url":"https://api.github.com/users/zhouguangfu","html_url":"https://github.com/zhouguangfu","followers_url":"https://api.github.com/users/zhouguangfu/followers","following_url":"https://api.github.com/users/zhouguangfu/following{/other_user}","gists_url":"https://api.github.com/users/zhouguangfu/gists{/gist_id}","starred_url":"https://api.github.com/users/zhouguangfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhouguangfu/subscriptions","organizations_url":"https://api.github.com/users/zhouguangfu/orgs","repos_url":"https://api.github.com/users/zhouguangfu/repos","events_url":"https://api.github.com/users/zhouguangfu/events{/privacy}","received_events_url":"https://api.github.com/users/zhouguangfu/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-25T08:39:31Z","updated_at":"2015-06-25T08:43:26Z","closed_at":"2015-06-25T08:43:26Z","merged_at":"2015-06-25T08:43:26Z","merge_commit_sha":"22422d78f2ab987d57e115e11b059040c331ad45","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/pulls/20/commits","review_comments_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/pulls/20/comments","review_comment_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/issues/20/comments","statuses_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/statuses/51391cd60806dfc4b3d23e87e2e0008751d1b47b","head":{"label":"zhouguangfu:master","ref":"master","sha":"51391cd60806dfc4b3d23e87e2e0008751d1b47b","user":{"login":"zhouguangfu","id":5118633,"avatar_url":"https://avatars.githubusercontent.com/u/5118633?v=3","gravatar_id":"","url":"https://api.github.com/users/zhouguangfu","html_url":"https://github.com/zhouguangfu","followers_url":"https://api.github.com/users/zhouguangfu/followers","following_url":"https://api.github.com/users/zhouguangfu/following{/other_user}","gists_url":"https://api.github.com/users/zhouguangfu/gists{/gist_id}","starred_url":"https://api.github.com/users/zhouguangfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhouguangfu/subscriptions","organizations_url":"https://api.github.com/users/zhouguangfu/orgs","repos_url":"https://api.github.com/users/zhouguangfu/repos","events_url":"https://api.github.com/users/zhouguangfu/events{/privacy}","received_events_url":"https://api.github.com/users/zhouguangfu/received_events","type":"User","site_admin":false},"repo":{"id":20051352,"name":"region-growing-froi","full_name":"zhouguangfu/region-growing-froi","owner":{"login":"zhouguangfu","id":5118633,"avatar_url":"https://avatars.githubusercontent.com/u/5118633?v=3","gravatar_id":"","url":"https://api.github.com/users/zhouguangfu","html_url":"https://github.com/zhouguangfu","followers_url":"https://api.github.com/users/zhouguangfu/followers","following_url":"https://api.github.com/users/zhouguangfu/following{/other_user}","gists_url":"https://api.github.com/users/zhouguangfu/gists{/gist_id}","starred_url":"https://api.github.com/users/zhouguangfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhouguangfu/subscriptions","organizations_url":"https://api.github.com/users/zhouguangfu/orgs","repos_url":"https://api.github.com/users/zhouguangfu/repos","events_url":"https://api.github.com/users/zhouguangfu/events{/privacy}","received_events_url":"https://api.github.com/users/zhouguangfu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zhouguangfu/region-growing-froi","description":"","fork":true,"url":"https://api.github.com/repos/zhouguangfu/region-growing-froi","forks_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/forks","keys_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/teams","hooks_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/hooks","issue_events_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/issues/events{/number}","events_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/events","assignees_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/assignees{/user}","branches_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/branches{/branch}","tags_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/tags","blobs_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/statuses/{sha}","languages_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/languages","stargazers_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/stargazers","contributors_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/contributors","subscribers_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/subscribers","subscription_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/subscription","commits_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/contents/{+path}","compare_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/merges","archive_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/downloads","issues_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/issues{/number}","pulls_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/pulls{/number}","milestones_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/milestones{/number}","notifications_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/labels{/name}","releases_url":"https://api.github.com/repos/zhouguangfu/region-growing-froi/releases{/id}","created_at":"2014-05-22T07:06:25Z","updated_at":"2014-12-07T06:01:50Z","pushed_at":"2015-06-25T08:38:21Z","git_url":"git://github.com/zhouguangfu/region-growing-froi.git","ssh_url":"git@github.com:zhouguangfu/region-growing-froi.git","clone_url":"https://github.com/zhouguangfu/region-growing-froi.git","svn_url":"https://github.com/zhouguangfu/region-growing-froi","homepage":null,"size":63941,"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":"BNUCNL:master","ref":"master","sha":"a336105b2ffcb04e862db29342efabdddad8aae1","user":{"login":"BNUCNL","id":5117897,"avatar_url":"https://avatars.githubusercontent.com/u/5117897?v=3","gravatar_id":"","url":"https://api.github.com/users/BNUCNL","html_url":"https://github.com/BNUCNL","followers_url":"https://api.github.com/users/BNUCNL/followers","following_url":"https://api.github.com/users/BNUCNL/following{/other_user}","gists_url":"https://api.github.com/users/BNUCNL/gists{/gist_id}","starred_url":"https://api.github.com/users/BNUCNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BNUCNL/subscriptions","organizations_url":"https://api.github.com/users/BNUCNL/orgs","repos_url":"https://api.github.com/users/BNUCNL/repos","events_url":"https://api.github.com/users/BNUCNL/events{/privacy}","received_events_url":"https://api.github.com/users/BNUCNL/received_events","type":"Organization","site_admin":false},"repo":{"id":20050877,"name":"region-growing-froi","full_name":"BNUCNL/region-growing-froi","owner":{"login":"BNUCNL","id":5117897,"avatar_url":"https://avatars.githubusercontent.com/u/5117897?v=3","gravatar_id":"","url":"https://api.github.com/users/BNUCNL","html_url":"https://github.com/BNUCNL","followers_url":"https://api.github.com/users/BNUCNL/followers","following_url":"https://api.github.com/users/BNUCNL/following{/other_user}","gists_url":"https://api.github.com/users/BNUCNL/gists{/gist_id}","starred_url":"https://api.github.com/users/BNUCNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BNUCNL/subscriptions","organizations_url":"https://api.github.com/users/BNUCNL/orgs","repos_url":"https://api.github.com/users/BNUCNL/repos","events_url":"https://api.github.com/users/BNUCNL/events{/privacy}","received_events_url":"https://api.github.com/users/BNUCNL/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BNUCNL/region-growing-froi","description":"","fork":false,"url":"https://api.github.com/repos/BNUCNL/region-growing-froi","forks_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/forks","keys_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/teams","hooks_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/hooks","issue_events_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/issues/events{/number}","events_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/events","assignees_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/assignees{/user}","branches_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/branches{/branch}","tags_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/tags","blobs_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/git/refs{/sha}","trees_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/statuses/{sha}","languages_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/languages","stargazers_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/stargazers","contributors_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/contributors","subscribers_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/subscribers","subscription_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/subscription","commits_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/commits{/sha}","git_commits_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/git/commits{/sha}","comments_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/comments{/number}","issue_comment_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/issues/comments{/number}","contents_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/contents/{+path}","compare_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/merges","archive_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/downloads","issues_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/issues{/number}","pulls_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/pulls{/number}","milestones_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/milestones{/number}","notifications_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/labels{/name}","releases_url":"https://api.github.com/repos/BNUCNL/region-growing-froi/releases{/id}","created_at":"2014-05-22T06:50:20Z","updated_at":"2014-09-22T02:02:57Z","pushed_at":"2015-06-25T08:43:26Z","git_url":"git://github.com/BNUCNL/region-growing-froi.git","ssh_url":"git@github.com:BNUCNL/region-growing-froi.git","clone_url":"https://github.com/BNUCNL/region-growing-froi.git","svn_url":"https://github.com/BNUCNL/region-growing-froi","homepage":"","size":63998,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BNUCNL/region-growing-froi/pulls/20"},"html":{"href":"https://github.com/BNUCNL/region-growing-froi/pull/20"},"issue":{"href":"https://api.github.com/repos/BNUCNL/region-growing-froi/issues/20"},"comments":{"href":"https://api.github.com/repos/BNUCNL/region-growing-froi/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/BNUCNL/region-growing-froi/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/BNUCNL/region-growing-froi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BNUCNL/region-growing-froi/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/BNUCNL/region-growing-froi/statuses/51391cd60806dfc4b3d23e87e2e0008751d1b47b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"zhenzonglei","id":712645,"avatar_url":"https://avatars.githubusercontent.com/u/712645?v=3","gravatar_id":"","url":"https://api.github.com/users/zhenzonglei","html_url":"https://github.com/zhenzonglei","followers_url":"https://api.github.com/users/zhenzonglei/followers","following_url":"https://api.github.com/users/zhenzonglei/following{/other_user}","gists_url":"https://api.github.com/users/zhenzonglei/gists{/gist_id}","starred_url":"https://api.github.com/users/zhenzonglei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhenzonglei/subscriptions","organizations_url":"https://api.github.com/users/zhenzonglei/orgs","repos_url":"https://api.github.com/users/zhenzonglei/repos","events_url":"https://api.github.com/users/zhenzonglei/events{/privacy}","received_events_url":"https://api.github.com/users/zhenzonglei/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":154,"deletions":153,"changed_files":16}}