{"action":"created","comment":{"url":"https://api.github.com/repos/nilearn/nilearn/pulls/comments/63881479","id":63881479,"diff_hunk":"@@ -18,6 +18,12 @@\n from ..input_data import NiftiMapsMasker\n from ..input_data.masker_validation import check_embedded_nifti_masker\n \n+try:\n+    # Python 3 compat\n+    _basestring = basestring\n+except NameError:\n+    _basestring = str\n+","path":"nilearn/decomposition/base.py","position":9,"original_position":9,"commit_id":"f3a83994a3771ddf2bc47bff107edbf274de9ae1","original_commit_id":"f3a83994a3771ddf2bc47bff107edbf274de9ae1","user":{"login":"AlexandreAbraham","id":1647301,"avatar_url":"https://avatars.githubusercontent.com/u/1647301?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexandreAbraham","html_url":"https://github.com/AlexandreAbraham","followers_url":"https://api.github.com/users/AlexandreAbraham/followers","following_url":"https://api.github.com/users/AlexandreAbraham/following{/other_user}","gists_url":"https://api.github.com/users/AlexandreAbraham/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexandreAbraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexandreAbraham/subscriptions","organizations_url":"https://api.github.com/users/AlexandreAbraham/orgs","repos_url":"https://api.github.com/users/AlexandreAbraham/repos","events_url":"https://api.github.com/users/AlexandreAbraham/events{/privacy}","received_events_url":"https://api.github.com/users/AlexandreAbraham/received_events","type":"User","site_admin":false},"body":"Pleasue use:\r\n\r\n```python\r\nfrom .._utils.compat import _basestring\r\n```","created_at":"2016-05-19T13:51:19Z","updated_at":"2016-05-19T13:51:19Z","html_url":"https://github.com/nilearn/nilearn/pull/1089#discussion_r63881479","pull_request_url":"https://api.github.com/repos/nilearn/nilearn/pulls/1089","_links":{"self":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/comments/63881479"},"html":{"href":"https://github.com/nilearn/nilearn/pull/1089#discussion_r63881479"},"pull_request":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/1089"}}},"pull_request":{"url":"https://api.github.com/repos/nilearn/nilearn/pulls/1089","id":66996244,"html_url":"https://github.com/nilearn/nilearn/pull/1089","diff_url":"https://github.com/nilearn/nilearn/pull/1089.diff","patch_url":"https://github.com/nilearn/nilearn/pull/1089.patch","issue_url":"https://api.github.com/repos/nilearn/nilearn/issues/1089","number":1089,"state":"open","locked":false,"title":"BUG: make sure that CanICA works on single subject","user":{"login":"GaelVaroquaux","id":208217,"avatar_url":"https://avatars.githubusercontent.com/u/208217?v=3","gravatar_id":"","url":"https://api.github.com/users/GaelVaroquaux","html_url":"https://github.com/GaelVaroquaux","followers_url":"https://api.github.com/users/GaelVaroquaux/followers","following_url":"https://api.github.com/users/GaelVaroquaux/following{/other_user}","gists_url":"https://api.github.com/users/GaelVaroquaux/gists{/gist_id}","starred_url":"https://api.github.com/users/GaelVaroquaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaelVaroquaux/subscriptions","organizations_url":"https://api.github.com/users/GaelVaroquaux/orgs","repos_url":"https://api.github.com/users/GaelVaroquaux/repos","events_url":"https://api.github.com/users/GaelVaroquaux/events{/privacy}","received_events_url":"https://api.github.com/users/GaelVaroquaux/received_events","type":"User","site_admin":false},"body":"As the bug was triggered in mask extraction, I needed to change the\r\ncode to generate the data, and I needed to make it generate data that\r\nlooked more like brainz so that the mask extraction routines did not\r\nfail.","created_at":"2016-04-19T10:41:09Z","updated_at":"2016-05-19T13:51:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"93294647b7f4cb147419d261094ecc3445dac6ab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nilearn/nilearn/pulls/1089/commits","review_comments_url":"https://api.github.com/repos/nilearn/nilearn/pulls/1089/comments","review_comment_url":"https://api.github.com/repos/nilearn/nilearn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nilearn/nilearn/issues/1089/comments","statuses_url":"https://api.github.com/repos/nilearn/nilearn/statuses/f3a83994a3771ddf2bc47bff107edbf274de9ae1","head":{"label":"GaelVaroquaux:single_subj_canica","ref":"single_subj_canica","sha":"f3a83994a3771ddf2bc47bff107edbf274de9ae1","user":{"login":"GaelVaroquaux","id":208217,"avatar_url":"https://avatars.githubusercontent.com/u/208217?v=3","gravatar_id":"","url":"https://api.github.com/users/GaelVaroquaux","html_url":"https://github.com/GaelVaroquaux","followers_url":"https://api.github.com/users/GaelVaroquaux/followers","following_url":"https://api.github.com/users/GaelVaroquaux/following{/other_user}","gists_url":"https://api.github.com/users/GaelVaroquaux/gists{/gist_id}","starred_url":"https://api.github.com/users/GaelVaroquaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaelVaroquaux/subscriptions","organizations_url":"https://api.github.com/users/GaelVaroquaux/orgs","repos_url":"https://api.github.com/users/GaelVaroquaux/repos","events_url":"https://api.github.com/users/GaelVaroquaux/events{/privacy}","received_events_url":"https://api.github.com/users/GaelVaroquaux/received_events","type":"User","site_admin":false},"repo":{"id":2084934,"name":"nilearn","full_name":"GaelVaroquaux/nilearn","owner":{"login":"GaelVaroquaux","id":208217,"avatar_url":"https://avatars.githubusercontent.com/u/208217?v=3","gravatar_id":"","url":"https://api.github.com/users/GaelVaroquaux","html_url":"https://github.com/GaelVaroquaux","followers_url":"https://api.github.com/users/GaelVaroquaux/followers","following_url":"https://api.github.com/users/GaelVaroquaux/following{/other_user}","gists_url":"https://api.github.com/users/GaelVaroquaux/gists{/gist_id}","starred_url":"https://api.github.com/users/GaelVaroquaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaelVaroquaux/subscriptions","organizations_url":"https://api.github.com/users/GaelVaroquaux/orgs","repos_url":"https://api.github.com/users/GaelVaroquaux/repos","events_url":"https://api.github.com/users/GaelVaroquaux/events{/privacy}","received_events_url":"https://api.github.com/users/GaelVaroquaux/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GaelVaroquaux/nilearn","description":"NeuroImaging with the Scikit-learn: fMRI inverse inference tutorial","fork":true,"url":"https://api.github.com/repos/GaelVaroquaux/nilearn","forks_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/forks","keys_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/teams","hooks_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/hooks","issue_events_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/issues/events{/number}","events_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/events","assignees_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/assignees{/user}","branches_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/branches{/branch}","tags_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/tags","blobs_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/git/refs{/sha}","trees_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/statuses/{sha}","languages_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/languages","stargazers_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/stargazers","contributors_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/contributors","subscribers_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/subscribers","subscription_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/subscription","commits_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/commits{/sha}","git_commits_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/git/commits{/sha}","comments_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/comments{/number}","issue_comment_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/issues/comments{/number}","contents_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/contents/{+path}","compare_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/merges","archive_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/downloads","issues_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/issues{/number}","pulls_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/pulls{/number}","milestones_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/milestones{/number}","notifications_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/labels{/name}","releases_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/releases{/id}","deployments_url":"https://api.github.com/repos/GaelVaroquaux/nilearn/deployments","created_at":"2011-07-21T18:19:33Z","updated_at":"2015-04-24T15:37:47Z","pushed_at":"2016-05-19T11:20:09Z","git_url":"git://github.com/GaelVaroquaux/nilearn.git","ssh_url":"git@github.com:GaelVaroquaux/nilearn.git","clone_url":"https://github.com/GaelVaroquaux/nilearn.git","svn_url":"https://github.com/GaelVaroquaux/nilearn","homepage":"http://nisl.github.com/","size":9422,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"nilearn:master","ref":"master","sha":"5feebaf4756741d3cb50349dfc27a1a2b84c39a3","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}","deployments_url":"https://api.github.com/repos/nilearn/nilearn/deployments","created_at":"2011-01-09T19:02:23Z","updated_at":"2016-05-07T15:36:39Z","pushed_at":"2016-05-19T11:22:38Z","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":12405,"stargazers_count":167,"watchers_count":167,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":126,"mirror_url":null,"open_issues_count":157,"forks":126,"open_issues":157,"watchers":167,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/1089"},"html":{"href":"https://github.com/nilearn/nilearn/pull/1089"},"issue":{"href":"https://api.github.com/repos/nilearn/nilearn/issues/1089"},"comments":{"href":"https://api.github.com/repos/nilearn/nilearn/issues/1089/comments"},"review_comments":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/1089/comments"},"review_comment":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/1089/commits"},"statuses":{"href":"https://api.github.com/repos/nilearn/nilearn/statuses/f3a83994a3771ddf2bc47bff107edbf274de9ae1"}}}}