{"action":"created","comment":{"url":"https://api.github.com/repos/IntelPNI/brainiak/pulls/comments/83109145","pull_request_review_id":3969591,"id":83109145,"diff_hunk":"@@ -0,0 +1,131 @@\n+#  Copyright 2016 Intel Corporation\n+#\n+#  Licensed under the Apache License, Version 2.0 (the \"License\");\n+#  you may not use this file except in compliance with the License.\n+#  You may obtain a copy of the License at\n+#\n+#       http://www.apache.org/licenses/LICENSE-2.0\n+#\n+#  Unless required by applicable law or agreed to in writing, software\n+#  distributed under the License is distributed on an \"AS IS\" BASIS,\n+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+#  See the License for the specific language governing permissions and\n+#  limitations under the License.\n+\n+\"\"\"Brain Simulator example script\n+\n+Example script to generate a run of a participant's data. This generates\n+data representing a pair of conditions that are then combined\n+\n+ Authors: Cameron Ellis (Princeton) 2016\n+\"\"\"\n+import logging\n+\n+import numpy as np\n+from brainiak.utils import simulator as sim\n+import matplotlib.pyplot as plt\n+from mpl_toolkits.mplot3d import Axes3D as temp\n+\n+logger = logging.getLogger(__name__)\n+\n+temp.__module__  # Do in order to remove the pep8 error generated above","path":"examples/utils/simulator_example.py","position":31,"original_position":31,"commit_id":"3222e3b3a9236f3f0d917146c6b69f5b113ed32f","original_commit_id":"3222e3b3a9236f3f0d917146c6b69f5b113ed32f","user":{"login":"mihaic","id":165546,"avatar_url":"https://avatars.githubusercontent.com/u/165546?v=3","gravatar_id":"","url":"https://api.github.com/users/mihaic","html_url":"https://github.com/mihaic","followers_url":"https://api.github.com/users/mihaic/followers","following_url":"https://api.github.com/users/mihaic/following{/other_user}","gists_url":"https://api.github.com/users/mihaic/gists{/gist_id}","starred_url":"https://api.github.com/users/mihaic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihaic/subscriptions","organizations_url":"https://api.github.com/users/mihaic/orgs","repos_url":"https://api.github.com/users/mihaic/repos","events_url":"https://api.github.com/users/mihaic/events{/privacy}","received_events_url":"https://api.github.com/users/mihaic/received_events","type":"User","site_admin":false},"body":"There is a standard way to ignore Flake8 errors:\r\nhttp://flake8.pycqa.org/en/latest/user/ignoring-errors.html\r\nIn this case, the import line should be:\r\n```from mpl_toolkits.mplot3d import Axes3D  # noqa: F401```","created_at":"2016-10-12T22:06:00Z","updated_at":"2016-10-12T22:06:08Z","html_url":"https://github.com/IntelPNI/brainiak/pull/133#discussion_r83109145","pull_request_url":"https://api.github.com/repos/IntelPNI/brainiak/pulls/133","_links":{"self":{"href":"https://api.github.com/repos/IntelPNI/brainiak/pulls/comments/83109145"},"html":{"href":"https://github.com/IntelPNI/brainiak/pull/133#discussion_r83109145"},"pull_request":{"href":"https://api.github.com/repos/IntelPNI/brainiak/pulls/133"}}},"pull_request":{"url":"https://api.github.com/repos/IntelPNI/brainiak/pulls/133","id":88939039,"html_url":"https://github.com/IntelPNI/brainiak/pull/133","diff_url":"https://github.com/IntelPNI/brainiak/pull/133.diff","patch_url":"https://github.com/IntelPNI/brainiak/pull/133.patch","issue_url":"https://api.github.com/repos/IntelPNI/brainiak/issues/133","number":133,"state":"open","locked":false,"title":"Add simulator","user":{"login":"CameronTEllis","id":11008543,"avatar_url":"https://avatars.githubusercontent.com/u/11008543?v=3","gravatar_id":"","url":"https://api.github.com/users/CameronTEllis","html_url":"https://github.com/CameronTEllis","followers_url":"https://api.github.com/users/CameronTEllis/followers","following_url":"https://api.github.com/users/CameronTEllis/following{/other_user}","gists_url":"https://api.github.com/users/CameronTEllis/gists{/gist_id}","starred_url":"https://api.github.com/users/CameronTEllis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CameronTEllis/subscriptions","organizations_url":"https://api.github.com/users/CameronTEllis/orgs","repos_url":"https://api.github.com/users/CameronTEllis/repos","events_url":"https://api.github.com/users/CameronTEllis/events{/privacy}","received_events_url":"https://api.github.com/users/CameronTEllis/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-12T01:28:25Z","updated_at":"2016-10-12T22:06:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1994a5df3974f507cd5d6f95ae968b7eef76eed3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/IntelPNI/brainiak/pulls/133/commits","review_comments_url":"https://api.github.com/repos/IntelPNI/brainiak/pulls/133/comments","review_comment_url":"https://api.github.com/repos/IntelPNI/brainiak/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IntelPNI/brainiak/issues/133/comments","statuses_url":"https://api.github.com/repos/IntelPNI/brainiak/statuses/3222e3b3a9236f3f0d917146c6b69f5b113ed32f","head":{"label":"CameronTEllis:add_simulator","ref":"add_simulator","sha":"3222e3b3a9236f3f0d917146c6b69f5b113ed32f","user":{"login":"CameronTEllis","id":11008543,"avatar_url":"https://avatars.githubusercontent.com/u/11008543?v=3","gravatar_id":"","url":"https://api.github.com/users/CameronTEllis","html_url":"https://github.com/CameronTEllis","followers_url":"https://api.github.com/users/CameronTEllis/followers","following_url":"https://api.github.com/users/CameronTEllis/following{/other_user}","gists_url":"https://api.github.com/users/CameronTEllis/gists{/gist_id}","starred_url":"https://api.github.com/users/CameronTEllis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CameronTEllis/subscriptions","organizations_url":"https://api.github.com/users/CameronTEllis/orgs","repos_url":"https://api.github.com/users/CameronTEllis/repos","events_url":"https://api.github.com/users/CameronTEllis/events{/privacy}","received_events_url":"https://api.github.com/users/CameronTEllis/received_events","type":"User","site_admin":false},"repo":{"id":63742654,"name":"brainiak","full_name":"CameronTEllis/brainiak","owner":{"login":"CameronTEllis","id":11008543,"avatar_url":"https://avatars.githubusercontent.com/u/11008543?v=3","gravatar_id":"","url":"https://api.github.com/users/CameronTEllis","html_url":"https://github.com/CameronTEllis","followers_url":"https://api.github.com/users/CameronTEllis/followers","following_url":"https://api.github.com/users/CameronTEllis/following{/other_user}","gists_url":"https://api.github.com/users/CameronTEllis/gists{/gist_id}","starred_url":"https://api.github.com/users/CameronTEllis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CameronTEllis/subscriptions","organizations_url":"https://api.github.com/users/CameronTEllis/orgs","repos_url":"https://api.github.com/users/CameronTEllis/repos","events_url":"https://api.github.com/users/CameronTEllis/events{/privacy}","received_events_url":"https://api.github.com/users/CameronTEllis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CameronTEllis/brainiak","description":"Brain Imaging Analysis Kit","fork":true,"url":"https://api.github.com/repos/CameronTEllis/brainiak","forks_url":"https://api.github.com/repos/CameronTEllis/brainiak/forks","keys_url":"https://api.github.com/repos/CameronTEllis/brainiak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CameronTEllis/brainiak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CameronTEllis/brainiak/teams","hooks_url":"https://api.github.com/repos/CameronTEllis/brainiak/hooks","issue_events_url":"https://api.github.com/repos/CameronTEllis/brainiak/issues/events{/number}","events_url":"https://api.github.com/repos/CameronTEllis/brainiak/events","assignees_url":"https://api.github.com/repos/CameronTEllis/brainiak/assignees{/user}","branches_url":"https://api.github.com/repos/CameronTEllis/brainiak/branches{/branch}","tags_url":"https://api.github.com/repos/CameronTEllis/brainiak/tags","blobs_url":"https://api.github.com/repos/CameronTEllis/brainiak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CameronTEllis/brainiak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CameronTEllis/brainiak/git/refs{/sha}","trees_url":"https://api.github.com/repos/CameronTEllis/brainiak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CameronTEllis/brainiak/statuses/{sha}","languages_url":"https://api.github.com/repos/CameronTEllis/brainiak/languages","stargazers_url":"https://api.github.com/repos/CameronTEllis/brainiak/stargazers","contributors_url":"https://api.github.com/repos/CameronTEllis/brainiak/contributors","subscribers_url":"https://api.github.com/repos/CameronTEllis/brainiak/subscribers","subscription_url":"https://api.github.com/repos/CameronTEllis/brainiak/subscription","commits_url":"https://api.github.com/repos/CameronTEllis/brainiak/commits{/sha}","git_commits_url":"https://api.github.com/repos/CameronTEllis/brainiak/git/commits{/sha}","comments_url":"https://api.github.com/repos/CameronTEllis/brainiak/comments{/number}","issue_comment_url":"https://api.github.com/repos/CameronTEllis/brainiak/issues/comments{/number}","contents_url":"https://api.github.com/repos/CameronTEllis/brainiak/contents/{+path}","compare_url":"https://api.github.com/repos/CameronTEllis/brainiak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CameronTEllis/brainiak/merges","archive_url":"https://api.github.com/repos/CameronTEllis/brainiak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CameronTEllis/brainiak/downloads","issues_url":"https://api.github.com/repos/CameronTEllis/brainiak/issues{/number}","pulls_url":"https://api.github.com/repos/CameronTEllis/brainiak/pulls{/number}","milestones_url":"https://api.github.com/repos/CameronTEllis/brainiak/milestones{/number}","notifications_url":"https://api.github.com/repos/CameronTEllis/brainiak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CameronTEllis/brainiak/labels{/name}","releases_url":"https://api.github.com/repos/CameronTEllis/brainiak/releases{/id}","deployments_url":"https://api.github.com/repos/CameronTEllis/brainiak/deployments","created_at":"2016-07-20T02:14:26Z","updated_at":"2016-07-20T02:14:27Z","pushed_at":"2016-10-12T01:26:35Z","git_url":"git://github.com/CameronTEllis/brainiak.git","ssh_url":"git@github.com:CameronTEllis/brainiak.git","clone_url":"https://github.com/CameronTEllis/brainiak.git","svn_url":"https://github.com/CameronTEllis/brainiak","homepage":"","size":886,"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":"IntelPNI:master","ref":"master","sha":"3dd2341fc414c516b3fb06a044cb3bb22e11f28f","user":{"login":"IntelPNI","id":10767488,"avatar_url":"https://avatars.githubusercontent.com/u/10767488?v=3","gravatar_id":"","url":"https://api.github.com/users/IntelPNI","html_url":"https://github.com/IntelPNI","followers_url":"https://api.github.com/users/IntelPNI/followers","following_url":"https://api.github.com/users/IntelPNI/following{/other_user}","gists_url":"https://api.github.com/users/IntelPNI/gists{/gist_id}","starred_url":"https://api.github.com/users/IntelPNI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IntelPNI/subscriptions","organizations_url":"https://api.github.com/users/IntelPNI/orgs","repos_url":"https://api.github.com/users/IntelPNI/repos","events_url":"https://api.github.com/users/IntelPNI/events{/privacy}","received_events_url":"https://api.github.com/users/IntelPNI/received_events","type":"Organization","site_admin":false},"repo":{"id":51334498,"name":"brainiak","full_name":"IntelPNI/brainiak","owner":{"login":"IntelPNI","id":10767488,"avatar_url":"https://avatars.githubusercontent.com/u/10767488?v=3","gravatar_id":"","url":"https://api.github.com/users/IntelPNI","html_url":"https://github.com/IntelPNI","followers_url":"https://api.github.com/users/IntelPNI/followers","following_url":"https://api.github.com/users/IntelPNI/following{/other_user}","gists_url":"https://api.github.com/users/IntelPNI/gists{/gist_id}","starred_url":"https://api.github.com/users/IntelPNI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IntelPNI/subscriptions","organizations_url":"https://api.github.com/users/IntelPNI/orgs","repos_url":"https://api.github.com/users/IntelPNI/repos","events_url":"https://api.github.com/users/IntelPNI/events{/privacy}","received_events_url":"https://api.github.com/users/IntelPNI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IntelPNI/brainiak","description":"Brain Imaging Analysis Kit","fork":false,"url":"https://api.github.com/repos/IntelPNI/brainiak","forks_url":"https://api.github.com/repos/IntelPNI/brainiak/forks","keys_url":"https://api.github.com/repos/IntelPNI/brainiak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IntelPNI/brainiak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IntelPNI/brainiak/teams","hooks_url":"https://api.github.com/repos/IntelPNI/brainiak/hooks","issue_events_url":"https://api.github.com/repos/IntelPNI/brainiak/issues/events{/number}","events_url":"https://api.github.com/repos/IntelPNI/brainiak/events","assignees_url":"https://api.github.com/repos/IntelPNI/brainiak/assignees{/user}","branches_url":"https://api.github.com/repos/IntelPNI/brainiak/branches{/branch}","tags_url":"https://api.github.com/repos/IntelPNI/brainiak/tags","blobs_url":"https://api.github.com/repos/IntelPNI/brainiak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IntelPNI/brainiak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IntelPNI/brainiak/git/refs{/sha}","trees_url":"https://api.github.com/repos/IntelPNI/brainiak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IntelPNI/brainiak/statuses/{sha}","languages_url":"https://api.github.com/repos/IntelPNI/brainiak/languages","stargazers_url":"https://api.github.com/repos/IntelPNI/brainiak/stargazers","contributors_url":"https://api.github.com/repos/IntelPNI/brainiak/contributors","subscribers_url":"https://api.github.com/repos/IntelPNI/brainiak/subscribers","subscription_url":"https://api.github.com/repos/IntelPNI/brainiak/subscription","commits_url":"https://api.github.com/repos/IntelPNI/brainiak/commits{/sha}","git_commits_url":"https://api.github.com/repos/IntelPNI/brainiak/git/commits{/sha}","comments_url":"https://api.github.com/repos/IntelPNI/brainiak/comments{/number}","issue_comment_url":"https://api.github.com/repos/IntelPNI/brainiak/issues/comments{/number}","contents_url":"https://api.github.com/repos/IntelPNI/brainiak/contents/{+path}","compare_url":"https://api.github.com/repos/IntelPNI/brainiak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IntelPNI/brainiak/merges","archive_url":"https://api.github.com/repos/IntelPNI/brainiak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IntelPNI/brainiak/downloads","issues_url":"https://api.github.com/repos/IntelPNI/brainiak/issues{/number}","pulls_url":"https://api.github.com/repos/IntelPNI/brainiak/pulls{/number}","milestones_url":"https://api.github.com/repos/IntelPNI/brainiak/milestones{/number}","notifications_url":"https://api.github.com/repos/IntelPNI/brainiak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IntelPNI/brainiak/labels{/name}","releases_url":"https://api.github.com/repos/IntelPNI/brainiak/releases{/id}","deployments_url":"https://api.github.com/repos/IntelPNI/brainiak/deployments","created_at":"2016-02-08T23:19:27Z","updated_at":"2016-10-12T05:06:52Z","pushed_at":"2016-10-12T20:02:09Z","git_url":"git://github.com/IntelPNI/brainiak.git","ssh_url":"git@github.com:IntelPNI/brainiak.git","clone_url":"https://github.com/IntelPNI/brainiak.git","svn_url":"https://github.com/IntelPNI/brainiak","homepage":"","size":1616,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":28,"forks":23,"open_issues":28,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IntelPNI/brainiak/pulls/133"},"html":{"href":"https://github.com/IntelPNI/brainiak/pull/133"},"issue":{"href":"https://api.github.com/repos/IntelPNI/brainiak/issues/133"},"comments":{"href":"https://api.github.com/repos/IntelPNI/brainiak/issues/133/comments"},"review_comments":{"href":"https://api.github.com/repos/IntelPNI/brainiak/pulls/133/comments"},"review_comment":{"href":"https://api.github.com/repos/IntelPNI/brainiak/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IntelPNI/brainiak/pulls/133/commits"},"statuses":{"href":"https://api.github.com/repos/IntelPNI/brainiak/statuses/3222e3b3a9236f3f0d917146c6b69f5b113ed32f"}}}}
{"actor":{"display_login":"mihaic"}}