{"action":"created","comment":{"url":"https://api.github.com/repos/nilearn/nilearn/pulls/comments/23787253","id":23787253,"diff_hunk":"@@ -150,9 +165,9 @@ def _chunk_read_(response, local_file, chunk_size=8192, report_hook=None,\n     try:\n         total_size = int(total_size) + initial_size\n     except Exception, e:\n-        if verbose > 0:\n+        if verbose > 1:","path":"nilearn/datasets.py","position":45,"original_position":45,"commit_id":"e60b4f2d60a1fb67efbc16028750a65424ae0ef7","original_commit_id":"e60b4f2d60a1fb67efbc16028750a65424ae0ef7","user":{"login":"bcipolli","id":4072455,"avatar_url":"https://avatars.githubusercontent.com/u/4072455?v=3","gravatar_id":"","url":"https://api.github.com/users/bcipolli","html_url":"https://github.com/bcipolli","followers_url":"https://api.github.com/users/bcipolli/followers","following_url":"https://api.github.com/users/bcipolli/following{/other_user}","gists_url":"https://api.github.com/users/bcipolli/gists{/gist_id}","starred_url":"https://api.github.com/users/bcipolli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcipolli/subscriptions","organizations_url":"https://api.github.com/users/bcipolli/orgs","repos_url":"https://api.github.com/users/bcipolli/repos","events_url":"https://api.github.com/users/bcipolli/events{/privacy}","received_events_url":"https://api.github.com/users/bcipolli/received_events","type":"User","site_admin":false},"body":"This is from the \"silencing\" PR... I suggest reviewing that one before this one, otherwise the two issues will be intertwined and hard to complete.\r\n\r\n`verbose=0` was outputting here, so I upped everything (including the default) to keep everything on separate `verbose` levels, but to make `verbose=0` be silent.","created_at":"2015-01-29T17:53:01Z","updated_at":"2015-01-29T17:53:01Z","html_url":"https://github.com/nilearn/nilearn/pull/371#discussion_r23787253","pull_request_url":"https://api.github.com/repos/nilearn/nilearn/pulls/371","_links":{"self":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/comments/23787253"},"html":{"href":"https://github.com/nilearn/nilearn/pull/371#discussion_r23787253"},"pull_request":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/371"}}},"pull_request":{"url":"https://api.github.com/repos/nilearn/nilearn/pulls/371","id":28297110,"html_url":"https://github.com/nilearn/nilearn/pull/371","diff_url":"https://github.com/nilearn/nilearn/pull/371.diff","patch_url":"https://github.com/nilearn/nilearn/pull/371.patch","issue_url":"https://api.github.com/repos/nilearn/nilearn/issues/371","number":371,"state":"open","locked":false,"title":"(WIP) Fix warnings thrown during tests","user":{"login":"bcipolli","id":4072455,"avatar_url":"https://avatars.githubusercontent.com/u/4072455?v=3","gravatar_id":"","url":"https://api.github.com/users/bcipolli","html_url":"https://github.com/bcipolli","followers_url":"https://api.github.com/users/bcipolli/followers","following_url":"https://api.github.com/users/bcipolli/following{/other_user}","gists_url":"https://api.github.com/users/bcipolli/gists{/gist_id}","starred_url":"https://api.github.com/users/bcipolli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcipolli/subscriptions","organizations_url":"https://api.github.com/users/bcipolli/orgs","repos_url":"https://api.github.com/users/bcipolli/repos","events_url":"https://api.github.com/users/bcipolli/events{/privacy}","received_events_url":"https://api.github.com/users/bcipolli/received_events","type":"User","site_admin":false},"body":"This is a work in progress, but pretty close to complete.  This depends on my `allow_silence` branch; you can see the additional commits through this comparison: https://github.com/bcipolli/nilearn/compare/bcipolli:allow_silence...fix_warnings\r\n\r\nHere, I've made the tests run with `UserWarning` causing errors.  I've debugged each of the warnings to find the root cause, and made one of three changes in every case:\r\n* Tweaked the test to ignore that warning, if it's out of our control.\r\n* Tweaked the test to expect that warning, if the test is designed to cause the warning\r\n* Made small changes to the `nilearn` code to compensate for external bugs (there were 1 or 2 instances of this)\r\n* Changed the `nilearn` code because of what I believe was a bug.\r\n\r\nI have already gone through the commits once to try and make them clear; I will go through again to try and label what type of change I believe each one represents.\r\n\r\nThis makes the test output completely clean--warnings are either known to be ignored, expected (and tested), or fixed.  I think this is the best way to proceed to identify changes in the behavior of `nilearn` moving forward.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/4072455/5962296/c27d2390-a797-11e4-96a2-7b41ef12548f.png)\r\n","created_at":"2015-01-29T17:18:40Z","updated_at":"2015-01-29T17:53:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b07806f48b0d97a7425bbb280b2d8216e3107a5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nilearn/nilearn/pulls/371/commits","review_comments_url":"https://api.github.com/repos/nilearn/nilearn/pulls/371/comments","review_comment_url":"https://api.github.com/repos/nilearn/nilearn/pulls/comments/{number}","comments_url":"https://api.github.com/repos/nilearn/nilearn/issues/371/comments","statuses_url":"https://api.github.com/repos/nilearn/nilearn/statuses/e60b4f2d60a1fb67efbc16028750a65424ae0ef7","head":{"label":"bcipolli:fix_warnings","ref":"fix_warnings","sha":"e60b4f2d60a1fb67efbc16028750a65424ae0ef7","user":{"login":"bcipolli","id":4072455,"avatar_url":"https://avatars.githubusercontent.com/u/4072455?v=3","gravatar_id":"","url":"https://api.github.com/users/bcipolli","html_url":"https://github.com/bcipolli","followers_url":"https://api.github.com/users/bcipolli/followers","following_url":"https://api.github.com/users/bcipolli/following{/other_user}","gists_url":"https://api.github.com/users/bcipolli/gists{/gist_id}","starred_url":"https://api.github.com/users/bcipolli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcipolli/subscriptions","organizations_url":"https://api.github.com/users/bcipolli/orgs","repos_url":"https://api.github.com/users/bcipolli/repos","events_url":"https://api.github.com/users/bcipolli/events{/privacy}","received_events_url":"https://api.github.com/users/bcipolli/received_events","type":"User","site_admin":false},"repo":{"id":28233031,"name":"nilearn","full_name":"bcipolli/nilearn","owner":{"login":"bcipolli","id":4072455,"avatar_url":"https://avatars.githubusercontent.com/u/4072455?v=3","gravatar_id":"","url":"https://api.github.com/users/bcipolli","html_url":"https://github.com/bcipolli","followers_url":"https://api.github.com/users/bcipolli/followers","following_url":"https://api.github.com/users/bcipolli/following{/other_user}","gists_url":"https://api.github.com/users/bcipolli/gists{/gist_id}","starred_url":"https://api.github.com/users/bcipolli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcipolli/subscriptions","organizations_url":"https://api.github.com/users/bcipolli/orgs","repos_url":"https://api.github.com/users/bcipolli/repos","events_url":"https://api.github.com/users/bcipolli/events{/privacy}","received_events_url":"https://api.github.com/users/bcipolli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bcipolli/nilearn","description":"Machine learning for NeuroImaging in Python","fork":true,"url":"https://api.github.com/repos/bcipolli/nilearn","forks_url":"https://api.github.com/repos/bcipolli/nilearn/forks","keys_url":"https://api.github.com/repos/bcipolli/nilearn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcipolli/nilearn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcipolli/nilearn/teams","hooks_url":"https://api.github.com/repos/bcipolli/nilearn/hooks","issue_events_url":"https://api.github.com/repos/bcipolli/nilearn/issues/events{/number}","events_url":"https://api.github.com/repos/bcipolli/nilearn/events","assignees_url":"https://api.github.com/repos/bcipolli/nilearn/assignees{/user}","branches_url":"https://api.github.com/repos/bcipolli/nilearn/branches{/branch}","tags_url":"https://api.github.com/repos/bcipolli/nilearn/tags","blobs_url":"https://api.github.com/repos/bcipolli/nilearn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcipolli/nilearn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcipolli/nilearn/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcipolli/nilearn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcipolli/nilearn/statuses/{sha}","languages_url":"https://api.github.com/repos/bcipolli/nilearn/languages","stargazers_url":"https://api.github.com/repos/bcipolli/nilearn/stargazers","contributors_url":"https://api.github.com/repos/bcipolli/nilearn/contributors","subscribers_url":"https://api.github.com/repos/bcipolli/nilearn/subscribers","subscription_url":"https://api.github.com/repos/bcipolli/nilearn/subscription","commits_url":"https://api.github.com/repos/bcipolli/nilearn/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcipolli/nilearn/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcipolli/nilearn/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcipolli/nilearn/issues/comments/{number}","contents_url":"https://api.github.com/repos/bcipolli/nilearn/contents/{+path}","compare_url":"https://api.github.com/repos/bcipolli/nilearn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcipolli/nilearn/merges","archive_url":"https://api.github.com/repos/bcipolli/nilearn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcipolli/nilearn/downloads","issues_url":"https://api.github.com/repos/bcipolli/nilearn/issues{/number}","pulls_url":"https://api.github.com/repos/bcipolli/nilearn/pulls{/number}","milestones_url":"https://api.github.com/repos/bcipolli/nilearn/milestones{/number}","notifications_url":"https://api.github.com/repos/bcipolli/nilearn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcipolli/nilearn/labels{/name}","releases_url":"https://api.github.com/repos/bcipolli/nilearn/releases{/id}","created_at":"2014-12-19T14:43:35Z","updated_at":"2015-01-20T14:44:19Z","pushed_at":"2015-01-29T13:58:35Z","git_url":"git://github.com/bcipolli/nilearn.git","ssh_url":"git@github.com:bcipolli/nilearn.git","clone_url":"https://github.com/bcipolli/nilearn.git","svn_url":"https://github.com/bcipolli/nilearn","homepage":"http://nilearn.github.io","size":6559,"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":"nilearn:master","ref":"master","sha":"d15df0c7ee416bb0421b0026efd3887e279cb03e","user":{"login":"nilearn","id":4646912,"avatar_url":"https://avatars.githubusercontent.com/u/4646912?v=3","gravatar_id":"","url":"https://api.github.com/users/nilearn","html_url":"https://github.com/nilearn","followers_url":"https://api.github.com/users/nilearn/followers","following_url":"https://api.github.com/users/nilearn/following{/other_user}","gists_url":"https://api.github.com/users/nilearn/gists{/gist_id}","starred_url":"https://api.github.com/users/nilearn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nilearn/subscriptions","organizations_url":"https://api.github.com/users/nilearn/orgs","repos_url":"https://api.github.com/users/nilearn/repos","events_url":"https://api.github.com/users/nilearn/events{/privacy}","received_events_url":"https://api.github.com/users/nilearn/received_events","type":"Organization","site_admin":false},"repo":{"id":1235740,"name":"nilearn","full_name":"nilearn/nilearn","owner":{"login":"nilearn","id":4646912,"avatar_url":"https://avatars.githubusercontent.com/u/4646912?v=3","gravatar_id":"","url":"https://api.github.com/users/nilearn","html_url":"https://github.com/nilearn","followers_url":"https://api.github.com/users/nilearn/followers","following_url":"https://api.github.com/users/nilearn/following{/other_user}","gists_url":"https://api.github.com/users/nilearn/gists{/gist_id}","starred_url":"https://api.github.com/users/nilearn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nilearn/subscriptions","organizations_url":"https://api.github.com/users/nilearn/orgs","repos_url":"https://api.github.com/users/nilearn/repos","events_url":"https://api.github.com/users/nilearn/events{/privacy}","received_events_url":"https://api.github.com/users/nilearn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nilearn/nilearn","description":"Machine learning for NeuroImaging in Python","fork":false,"url":"https://api.github.com/repos/nilearn/nilearn","forks_url":"https://api.github.com/repos/nilearn/nilearn/forks","keys_url":"https://api.github.com/repos/nilearn/nilearn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nilearn/nilearn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nilearn/nilearn/teams","hooks_url":"https://api.github.com/repos/nilearn/nilearn/hooks","issue_events_url":"https://api.github.com/repos/nilearn/nilearn/issues/events{/number}","events_url":"https://api.github.com/repos/nilearn/nilearn/events","assignees_url":"https://api.github.com/repos/nilearn/nilearn/assignees{/user}","branches_url":"https://api.github.com/repos/nilearn/nilearn/branches{/branch}","tags_url":"https://api.github.com/repos/nilearn/nilearn/tags","blobs_url":"https://api.github.com/repos/nilearn/nilearn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nilearn/nilearn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nilearn/nilearn/git/refs{/sha}","trees_url":"https://api.github.com/repos/nilearn/nilearn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nilearn/nilearn/statuses/{sha}","languages_url":"https://api.github.com/repos/nilearn/nilearn/languages","stargazers_url":"https://api.github.com/repos/nilearn/nilearn/stargazers","contributors_url":"https://api.github.com/repos/nilearn/nilearn/contributors","subscribers_url":"https://api.github.com/repos/nilearn/nilearn/subscribers","subscription_url":"https://api.github.com/repos/nilearn/nilearn/subscription","commits_url":"https://api.github.com/repos/nilearn/nilearn/commits{/sha}","git_commits_url":"https://api.github.com/repos/nilearn/nilearn/git/commits{/sha}","comments_url":"https://api.github.com/repos/nilearn/nilearn/comments{/number}","issue_comment_url":"https://api.github.com/repos/nilearn/nilearn/issues/comments/{number}","contents_url":"https://api.github.com/repos/nilearn/nilearn/contents/{+path}","compare_url":"https://api.github.com/repos/nilearn/nilearn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nilearn/nilearn/merges","archive_url":"https://api.github.com/repos/nilearn/nilearn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nilearn/nilearn/downloads","issues_url":"https://api.github.com/repos/nilearn/nilearn/issues{/number}","pulls_url":"https://api.github.com/repos/nilearn/nilearn/pulls{/number}","milestones_url":"https://api.github.com/repos/nilearn/nilearn/milestones{/number}","notifications_url":"https://api.github.com/repos/nilearn/nilearn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nilearn/nilearn/labels{/name}","releases_url":"https://api.github.com/repos/nilearn/nilearn/releases{/id}","created_at":"2011-01-09T19:02:23Z","updated_at":"2015-01-29T15:19:17Z","pushed_at":"2015-01-29T15:19:15Z","git_url":"git://github.com/nilearn/nilearn.git","ssh_url":"git@github.com:nilearn/nilearn.git","clone_url":"https://github.com/nilearn/nilearn.git","svn_url":"https://github.com/nilearn/nilearn","homepage":"http://nilearn.github.io","size":9655,"stargazers_count":67,"watchers_count":67,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":58,"forks":51,"open_issues":58,"watchers":67,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/371"},"html":{"href":"https://github.com/nilearn/nilearn/pull/371"},"issue":{"href":"https://api.github.com/repos/nilearn/nilearn/issues/371"},"comments":{"href":"https://api.github.com/repos/nilearn/nilearn/issues/371/comments"},"review_comments":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/371/comments"},"review_comment":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/371/commits"},"statuses":{"href":"https://api.github.com/repos/nilearn/nilearn/statuses/e60b4f2d60a1fb67efbc16028750a65424ae0ef7"}}}}