{"action":"created","comment":{"url":"https://api.github.com/repos/weecology/retriever/pulls/comments/96412714","pull_request_review_id":16991587,"id":96412714,"diff_hunk":"@@ -0,0 +1,15 @@\n+import json\n+import os\n+\n+HOMEDIR = os.path.expanduser('~')\n+file_location = os.path.dirname(os.path.realpath(__file__))\n+retriever_root_dir = os.path.abspath(os.path.join(file_location, os.pardir))\n+\n+def json_test_module():\n+\t\"\"\"Test if all json files are valid\"\"\"\n+\tos.chdir(retriever_root_dir + '/scripts')\n+\tfor filename in os.listdir(\".\"):\n+\t\tif filename[-5:] == \".json\":\n+\t\t\tfile_content = \"\"","path":"test/test_json.py","position":13,"original_position":13,"commit_id":"b3eb35cbdd5163d3289af12d6a636ac321a30263","original_commit_id":"b3eb35cbdd5163d3289af12d6a636ac321a30263","user":{"login":"ethanwhite","id":744427,"avatar_url":"https://avatars.githubusercontent.com/u/744427?v=3","gravatar_id":"","url":"https://api.github.com/users/ethanwhite","html_url":"https://github.com/ethanwhite","followers_url":"https://api.github.com/users/ethanwhite/followers","following_url":"https://api.github.com/users/ethanwhite/following{/other_user}","gists_url":"https://api.github.com/users/ethanwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/ethanwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethanwhite/subscriptions","organizations_url":"https://api.github.com/users/ethanwhite/orgs","repos_url":"https://api.github.com/users/ethanwhite/repos","events_url":"https://api.github.com/users/ethanwhite/events{/privacy}","received_events_url":"https://api.github.com/users/ethanwhite/received_events","type":"User","site_admin":false},"body":"It doesn't look like this line is currently being used and so it can be removed.","created_at":"2017-01-17T13:40:45Z","updated_at":"2017-01-17T13:44:46Z","html_url":"https://github.com/weecology/retriever/pull/772#discussion_r96412714","pull_request_url":"https://api.github.com/repos/weecology/retriever/pulls/772","_links":{"self":{"href":"https://api.github.com/repos/weecology/retriever/pulls/comments/96412714"},"html":{"href":"https://github.com/weecology/retriever/pull/772#discussion_r96412714"},"pull_request":{"href":"https://api.github.com/repos/weecology/retriever/pulls/772"}}},"pull_request":{"url":"https://api.github.com/repos/weecology/retriever/pulls/772","id":101727724,"html_url":"https://github.com/weecology/retriever/pull/772","diff_url":"https://github.com/weecology/retriever/pull/772.diff","patch_url":"https://github.com/weecology/retriever/pull/772.patch","issue_url":"https://api.github.com/repos/weecology/retriever/issues/772","number":772,"state":"open","locked":false,"title":"Test to check if all .json files are valid","user":{"login":"ShivamNegi","id":8992664,"avatar_url":"https://avatars.githubusercontent.com/u/8992664?v=3","gravatar_id":"","url":"https://api.github.com/users/ShivamNegi","html_url":"https://github.com/ShivamNegi","followers_url":"https://api.github.com/users/ShivamNegi/followers","following_url":"https://api.github.com/users/ShivamNegi/following{/other_user}","gists_url":"https://api.github.com/users/ShivamNegi/gists{/gist_id}","starred_url":"https://api.github.com/users/ShivamNegi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShivamNegi/subscriptions","organizations_url":"https://api.github.com/users/ShivamNegi/orgs","repos_url":"https://api.github.com/users/ShivamNegi/repos","events_url":"https://api.github.com/users/ShivamNegi/events{/privacy}","received_events_url":"https://api.github.com/users/ShivamNegi/received_events","type":"User","site_admin":false},"body":"#764 ","created_at":"2017-01-16T17:07:20Z","updated_at":"2017-01-17T13:44:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"601ac902780dc106d80f148e904f91dd10f97834","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/weecology/retriever/pulls/772/commits","review_comments_url":"https://api.github.com/repos/weecology/retriever/pulls/772/comments","review_comment_url":"https://api.github.com/repos/weecology/retriever/pulls/comments{/number}","comments_url":"https://api.github.com/repos/weecology/retriever/issues/772/comments","statuses_url":"https://api.github.com/repos/weecology/retriever/statuses/b3eb35cbdd5163d3289af12d6a636ac321a30263","head":{"label":"ShivamNegi:master","ref":"master","sha":"b3eb35cbdd5163d3289af12d6a636ac321a30263","user":{"login":"ShivamNegi","id":8992664,"avatar_url":"https://avatars.githubusercontent.com/u/8992664?v=3","gravatar_id":"","url":"https://api.github.com/users/ShivamNegi","html_url":"https://github.com/ShivamNegi","followers_url":"https://api.github.com/users/ShivamNegi/followers","following_url":"https://api.github.com/users/ShivamNegi/following{/other_user}","gists_url":"https://api.github.com/users/ShivamNegi/gists{/gist_id}","starred_url":"https://api.github.com/users/ShivamNegi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShivamNegi/subscriptions","organizations_url":"https://api.github.com/users/ShivamNegi/orgs","repos_url":"https://api.github.com/users/ShivamNegi/repos","events_url":"https://api.github.com/users/ShivamNegi/events{/privacy}","received_events_url":"https://api.github.com/users/ShivamNegi/received_events","type":"User","site_admin":false},"repo":{"id":79138715,"name":"retriever","full_name":"ShivamNegi/retriever","owner":{"login":"ShivamNegi","id":8992664,"avatar_url":"https://avatars.githubusercontent.com/u/8992664?v=3","gravatar_id":"","url":"https://api.github.com/users/ShivamNegi","html_url":"https://github.com/ShivamNegi","followers_url":"https://api.github.com/users/ShivamNegi/followers","following_url":"https://api.github.com/users/ShivamNegi/following{/other_user}","gists_url":"https://api.github.com/users/ShivamNegi/gists{/gist_id}","starred_url":"https://api.github.com/users/ShivamNegi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShivamNegi/subscriptions","organizations_url":"https://api.github.com/users/ShivamNegi/orgs","repos_url":"https://api.github.com/users/ShivamNegi/repos","events_url":"https://api.github.com/users/ShivamNegi/events{/privacy}","received_events_url":"https://api.github.com/users/ShivamNegi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ShivamNegi/retriever","description":"Quickly download, clean up, and install ecological datasets into a database management system","fork":true,"url":"https://api.github.com/repos/ShivamNegi/retriever","forks_url":"https://api.github.com/repos/ShivamNegi/retriever/forks","keys_url":"https://api.github.com/repos/ShivamNegi/retriever/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ShivamNegi/retriever/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ShivamNegi/retriever/teams","hooks_url":"https://api.github.com/repos/ShivamNegi/retriever/hooks","issue_events_url":"https://api.github.com/repos/ShivamNegi/retriever/issues/events{/number}","events_url":"https://api.github.com/repos/ShivamNegi/retriever/events","assignees_url":"https://api.github.com/repos/ShivamNegi/retriever/assignees{/user}","branches_url":"https://api.github.com/repos/ShivamNegi/retriever/branches{/branch}","tags_url":"https://api.github.com/repos/ShivamNegi/retriever/tags","blobs_url":"https://api.github.com/repos/ShivamNegi/retriever/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ShivamNegi/retriever/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ShivamNegi/retriever/git/refs{/sha}","trees_url":"https://api.github.com/repos/ShivamNegi/retriever/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ShivamNegi/retriever/statuses/{sha}","languages_url":"https://api.github.com/repos/ShivamNegi/retriever/languages","stargazers_url":"https://api.github.com/repos/ShivamNegi/retriever/stargazers","contributors_url":"https://api.github.com/repos/ShivamNegi/retriever/contributors","subscribers_url":"https://api.github.com/repos/ShivamNegi/retriever/subscribers","subscription_url":"https://api.github.com/repos/ShivamNegi/retriever/subscription","commits_url":"https://api.github.com/repos/ShivamNegi/retriever/commits{/sha}","git_commits_url":"https://api.github.com/repos/ShivamNegi/retriever/git/commits{/sha}","comments_url":"https://api.github.com/repos/ShivamNegi/retriever/comments{/number}","issue_comment_url":"https://api.github.com/repos/ShivamNegi/retriever/issues/comments{/number}","contents_url":"https://api.github.com/repos/ShivamNegi/retriever/contents/{+path}","compare_url":"https://api.github.com/repos/ShivamNegi/retriever/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ShivamNegi/retriever/merges","archive_url":"https://api.github.com/repos/ShivamNegi/retriever/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ShivamNegi/retriever/downloads","issues_url":"https://api.github.com/repos/ShivamNegi/retriever/issues{/number}","pulls_url":"https://api.github.com/repos/ShivamNegi/retriever/pulls{/number}","milestones_url":"https://api.github.com/repos/ShivamNegi/retriever/milestones{/number}","notifications_url":"https://api.github.com/repos/ShivamNegi/retriever/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ShivamNegi/retriever/labels{/name}","releases_url":"https://api.github.com/repos/ShivamNegi/retriever/releases{/id}","deployments_url":"https://api.github.com/repos/ShivamNegi/retriever/deployments","created_at":"2017-01-16T16:49:08Z","updated_at":"2017-01-16T16:49:12Z","pushed_at":"2017-01-16T17:04:24Z","git_url":"git://github.com/ShivamNegi/retriever.git","ssh_url":"git@github.com:ShivamNegi/retriever.git","clone_url":"https://github.com/ShivamNegi/retriever.git","svn_url":"https://github.com/ShivamNegi/retriever","homepage":"http://data-retriever.org","size":2739,"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":"weecology:master","ref":"master","sha":"c60b75561923ec1834544d80827f44e29b7b69e3","user":{"login":"weecology","id":1156696,"avatar_url":"https://avatars.githubusercontent.com/u/1156696?v=3","gravatar_id":"","url":"https://api.github.com/users/weecology","html_url":"https://github.com/weecology","followers_url":"https://api.github.com/users/weecology/followers","following_url":"https://api.github.com/users/weecology/following{/other_user}","gists_url":"https://api.github.com/users/weecology/gists{/gist_id}","starred_url":"https://api.github.com/users/weecology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weecology/subscriptions","organizations_url":"https://api.github.com/users/weecology/orgs","repos_url":"https://api.github.com/users/weecology/repos","events_url":"https://api.github.com/users/weecology/events{/privacy}","received_events_url":"https://api.github.com/users/weecology/received_events","type":"Organization","site_admin":false},"repo":{"id":1968190,"name":"retriever","full_name":"weecology/retriever","owner":{"login":"weecology","id":1156696,"avatar_url":"https://avatars.githubusercontent.com/u/1156696?v=3","gravatar_id":"","url":"https://api.github.com/users/weecology","html_url":"https://github.com/weecology","followers_url":"https://api.github.com/users/weecology/followers","following_url":"https://api.github.com/users/weecology/following{/other_user}","gists_url":"https://api.github.com/users/weecology/gists{/gist_id}","starred_url":"https://api.github.com/users/weecology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weecology/subscriptions","organizations_url":"https://api.github.com/users/weecology/orgs","repos_url":"https://api.github.com/users/weecology/repos","events_url":"https://api.github.com/users/weecology/events{/privacy}","received_events_url":"https://api.github.com/users/weecology/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/weecology/retriever","description":"Quickly download, clean up, and install ecological datasets into a database management system","fork":false,"url":"https://api.github.com/repos/weecology/retriever","forks_url":"https://api.github.com/repos/weecology/retriever/forks","keys_url":"https://api.github.com/repos/weecology/retriever/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weecology/retriever/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weecology/retriever/teams","hooks_url":"https://api.github.com/repos/weecology/retriever/hooks","issue_events_url":"https://api.github.com/repos/weecology/retriever/issues/events{/number}","events_url":"https://api.github.com/repos/weecology/retriever/events","assignees_url":"https://api.github.com/repos/weecology/retriever/assignees{/user}","branches_url":"https://api.github.com/repos/weecology/retriever/branches{/branch}","tags_url":"https://api.github.com/repos/weecology/retriever/tags","blobs_url":"https://api.github.com/repos/weecology/retriever/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weecology/retriever/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weecology/retriever/git/refs{/sha}","trees_url":"https://api.github.com/repos/weecology/retriever/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weecology/retriever/statuses/{sha}","languages_url":"https://api.github.com/repos/weecology/retriever/languages","stargazers_url":"https://api.github.com/repos/weecology/retriever/stargazers","contributors_url":"https://api.github.com/repos/weecology/retriever/contributors","subscribers_url":"https://api.github.com/repos/weecology/retriever/subscribers","subscription_url":"https://api.github.com/repos/weecology/retriever/subscription","commits_url":"https://api.github.com/repos/weecology/retriever/commits{/sha}","git_commits_url":"https://api.github.com/repos/weecology/retriever/git/commits{/sha}","comments_url":"https://api.github.com/repos/weecology/retriever/comments{/number}","issue_comment_url":"https://api.github.com/repos/weecology/retriever/issues/comments{/number}","contents_url":"https://api.github.com/repos/weecology/retriever/contents/{+path}","compare_url":"https://api.github.com/repos/weecology/retriever/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weecology/retriever/merges","archive_url":"https://api.github.com/repos/weecology/retriever/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weecology/retriever/downloads","issues_url":"https://api.github.com/repos/weecology/retriever/issues{/number}","pulls_url":"https://api.github.com/repos/weecology/retriever/pulls{/number}","milestones_url":"https://api.github.com/repos/weecology/retriever/milestones{/number}","notifications_url":"https://api.github.com/repos/weecology/retriever/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weecology/retriever/labels{/name}","releases_url":"https://api.github.com/repos/weecology/retriever/releases{/id}","deployments_url":"https://api.github.com/repos/weecology/retriever/deployments","created_at":"2011-06-28T19:01:15Z","updated_at":"2017-01-16T06:45:26Z","pushed_at":"2017-01-17T07:29:01Z","git_url":"git://github.com/weecology/retriever.git","ssh_url":"git@github.com:weecology/retriever.git","clone_url":"https://github.com/weecology/retriever.git","svn_url":"https://github.com/weecology/retriever","homepage":"http://data-retriever.org","size":46436,"stargazers_count":75,"watchers_count":75,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":65,"forks":35,"open_issues":65,"watchers":75,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/weecology/retriever/pulls/772"},"html":{"href":"https://github.com/weecology/retriever/pull/772"},"issue":{"href":"https://api.github.com/repos/weecology/retriever/issues/772"},"comments":{"href":"https://api.github.com/repos/weecology/retriever/issues/772/comments"},"review_comments":{"href":"https://api.github.com/repos/weecology/retriever/pulls/772/comments"},"review_comment":{"href":"https://api.github.com/repos/weecology/retriever/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/weecology/retriever/pulls/772/commits"},"statuses":{"href":"https://api.github.com/repos/weecology/retriever/statuses/b3eb35cbdd5163d3289af12d6a636ac321a30263"}}}}
{"actor":{"display_login":"ethanwhite"}}