{"action":"created","comment":{"url":"https://api.github.com/repos/nest/nest-simulator/pulls/comments/78188275","id":78188275,"diff_hunk":"@@ -0,0 +1,347 @@\n+# -*- coding: utf-8 -*-\n+#\n+# network.py\n+#\n+# This file is part of NEST.\n+#\n+# Copyright (C) 2004 The NEST Initiative\n+#\n+# NEST is free software: you can redistribute it and/or modify\n+# it under the terms of the GNU General Public License as published by\n+# the Free Software Foundation, either version 2 of the License, or\n+# (at your option) any later version.\n+#\n+# NEST is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with NEST.  If not, see <http://www.gnu.org/licenses/>.\n+\n+'''\n+pynest microcicuit network\n+----------------------------------------------\n+\n+Main file for the microcircuit.\n+\n+Hendrik Rothe, Hannah Bos, Sacha van Albada; May 2016\n+'''\n+\n+import nest\n+import numpy as np\n+from helpers import *\n+import matplotlib.pyplot as plt\n+import os","path":"pynest/examples/pynest-microcircuit/network.py","position":35,"original_position":35,"commit_id":"f4b8a2eac3aade3d1beab9e0d18a46891fd799c5","original_commit_id":"f4b8a2eac3aade3d1beab9e0d18a46891fd799c5","user":{"login":"mschmidt87","id":6512628,"avatar_url":"https://avatars.githubusercontent.com/u/6512628?v=3","gravatar_id":"","url":"https://api.github.com/users/mschmidt87","html_url":"https://github.com/mschmidt87","followers_url":"https://api.github.com/users/mschmidt87/followers","following_url":"https://api.github.com/users/mschmidt87/following{/other_user}","gists_url":"https://api.github.com/users/mschmidt87/gists{/gist_id}","starred_url":"https://api.github.com/users/mschmidt87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschmidt87/subscriptions","organizations_url":"https://api.github.com/users/mschmidt87/orgs","repos_url":"https://api.github.com/users/mschmidt87/repos","events_url":"https://api.github.com/users/mschmidt87/events{/privacy}","received_events_url":"https://api.github.com/users/mschmidt87/received_events","type":"User","site_admin":false},"body":"`os` is never used.","created_at":"2016-09-09T14:21:20Z","updated_at":"2016-09-09T14:21:20Z","html_url":"https://github.com/nest/nest-simulator/pull/451#discussion_r78188275","pull_request_url":"https://api.github.com/repos/nest/nest-simulator/pulls/451","_links":{"self":{"href":"https://api.github.com/repos/nest/nest-simulator/pulls/comments/78188275"},"html":{"href":"https://github.com/nest/nest-simulator/pull/451#discussion_r78188275"},"pull_request":{"href":"https://api.github.com/repos/nest/nest-simulator/pulls/451"}}},"pull_request":{"url":"https://api.github.com/repos/nest/nest-simulator/pulls/451","id":80240512,"html_url":"https://github.com/nest/nest-simulator/pull/451","diff_url":"https://github.com/nest/nest-simulator/pull/451.diff","patch_url":"https://github.com/nest/nest-simulator/pull/451.patch","issue_url":"https://api.github.com/repos/nest/nest-simulator/issues/451","number":451,"state":"open","locked":false,"title":"Pynest microcircuit","user":{"login":"hendrikrth","id":15939240,"avatar_url":"https://avatars.githubusercontent.com/u/15939240?v=3","gravatar_id":"","url":"https://api.github.com/users/hendrikrth","html_url":"https://github.com/hendrikrth","followers_url":"https://api.github.com/users/hendrikrth/followers","following_url":"https://api.github.com/users/hendrikrth/following{/other_user}","gists_url":"https://api.github.com/users/hendrikrth/gists{/gist_id}","starred_url":"https://api.github.com/users/hendrikrth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hendrikrth/subscriptions","organizations_url":"https://api.github.com/users/hendrikrth/orgs","repos_url":"https://api.github.com/users/hendrikrth/repos","events_url":"https://api.github.com/users/hendrikrth/events{/privacy}","received_events_url":"https://api.github.com/users/hendrikrth/received_events","type":"User","site_admin":false},"body":"The example files of NEST are lacking a PyNEST version of the microcircuit #450. To compensate this I would like you to include my branch. As reviewers I suggest @jhnnsnk and @mschmidt87. ","created_at":"2016-08-05T13:09:33Z","updated_at":"2016-09-09T14:21:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"031f1430b8c6d6cc1f0a25ed652d1c088016b0d6","assignee":{"login":"mschmidt87","id":6512628,"avatar_url":"https://avatars.githubusercontent.com/u/6512628?v=3","gravatar_id":"","url":"https://api.github.com/users/mschmidt87","html_url":"https://github.com/mschmidt87","followers_url":"https://api.github.com/users/mschmidt87/followers","following_url":"https://api.github.com/users/mschmidt87/following{/other_user}","gists_url":"https://api.github.com/users/mschmidt87/gists{/gist_id}","starred_url":"https://api.github.com/users/mschmidt87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschmidt87/subscriptions","organizations_url":"https://api.github.com/users/mschmidt87/orgs","repos_url":"https://api.github.com/users/mschmidt87/repos","events_url":"https://api.github.com/users/mschmidt87/events{/privacy}","received_events_url":"https://api.github.com/users/mschmidt87/received_events","type":"User","site_admin":false},"assignees":[{"login":"mschmidt87","id":6512628,"avatar_url":"https://avatars.githubusercontent.com/u/6512628?v=3","gravatar_id":"","url":"https://api.github.com/users/mschmidt87","html_url":"https://github.com/mschmidt87","followers_url":"https://api.github.com/users/mschmidt87/followers","following_url":"https://api.github.com/users/mschmidt87/following{/other_user}","gists_url":"https://api.github.com/users/mschmidt87/gists{/gist_id}","starred_url":"https://api.github.com/users/mschmidt87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschmidt87/subscriptions","organizations_url":"https://api.github.com/users/mschmidt87/orgs","repos_url":"https://api.github.com/users/mschmidt87/repos","events_url":"https://api.github.com/users/mschmidt87/events{/privacy}","received_events_url":"https://api.github.com/users/mschmidt87/received_events","type":"User","site_admin":false},{"login":"jhnnsnk","id":11767751,"avatar_url":"https://avatars.githubusercontent.com/u/11767751?v=3","gravatar_id":"","url":"https://api.github.com/users/jhnnsnk","html_url":"https://github.com/jhnnsnk","followers_url":"https://api.github.com/users/jhnnsnk/followers","following_url":"https://api.github.com/users/jhnnsnk/following{/other_user}","gists_url":"https://api.github.com/users/jhnnsnk/gists{/gist_id}","starred_url":"https://api.github.com/users/jhnnsnk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhnnsnk/subscriptions","organizations_url":"https://api.github.com/users/jhnnsnk/orgs","repos_url":"https://api.github.com/users/jhnnsnk/repos","events_url":"https://api.github.com/users/jhnnsnk/events{/privacy}","received_events_url":"https://api.github.com/users/jhnnsnk/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/nest/nest-simulator/pulls/451/commits","review_comments_url":"https://api.github.com/repos/nest/nest-simulator/pulls/451/comments","review_comment_url":"https://api.github.com/repos/nest/nest-simulator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nest/nest-simulator/issues/451/comments","statuses_url":"https://api.github.com/repos/nest/nest-simulator/statuses/f4b8a2eac3aade3d1beab9e0d18a46891fd799c5","head":{"label":"hendrikrth:pynest-microcircuit","ref":"pynest-microcircuit","sha":"f4b8a2eac3aade3d1beab9e0d18a46891fd799c5","user":{"login":"hendrikrth","id":15939240,"avatar_url":"https://avatars.githubusercontent.com/u/15939240?v=3","gravatar_id":"","url":"https://api.github.com/users/hendrikrth","html_url":"https://github.com/hendrikrth","followers_url":"https://api.github.com/users/hendrikrth/followers","following_url":"https://api.github.com/users/hendrikrth/following{/other_user}","gists_url":"https://api.github.com/users/hendrikrth/gists{/gist_id}","starred_url":"https://api.github.com/users/hendrikrth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hendrikrth/subscriptions","organizations_url":"https://api.github.com/users/hendrikrth/orgs","repos_url":"https://api.github.com/users/hendrikrth/repos","events_url":"https://api.github.com/users/hendrikrth/events{/privacy}","received_events_url":"https://api.github.com/users/hendrikrth/received_events","type":"User","site_admin":false},"repo":{"id":64954071,"name":"nest-simulator","full_name":"hendrikrth/nest-simulator","owner":{"login":"hendrikrth","id":15939240,"avatar_url":"https://avatars.githubusercontent.com/u/15939240?v=3","gravatar_id":"","url":"https://api.github.com/users/hendrikrth","html_url":"https://github.com/hendrikrth","followers_url":"https://api.github.com/users/hendrikrth/followers","following_url":"https://api.github.com/users/hendrikrth/following{/other_user}","gists_url":"https://api.github.com/users/hendrikrth/gists{/gist_id}","starred_url":"https://api.github.com/users/hendrikrth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hendrikrth/subscriptions","organizations_url":"https://api.github.com/users/hendrikrth/orgs","repos_url":"https://api.github.com/users/hendrikrth/repos","events_url":"https://api.github.com/users/hendrikrth/events{/privacy}","received_events_url":"https://api.github.com/users/hendrikrth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hendrikrth/nest-simulator","description":"The NEST simulator","fork":true,"url":"https://api.github.com/repos/hendrikrth/nest-simulator","forks_url":"https://api.github.com/repos/hendrikrth/nest-simulator/forks","keys_url":"https://api.github.com/repos/hendrikrth/nest-simulator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hendrikrth/nest-simulator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hendrikrth/nest-simulator/teams","hooks_url":"https://api.github.com/repos/hendrikrth/nest-simulator/hooks","issue_events_url":"https://api.github.com/repos/hendrikrth/nest-simulator/issues/events{/number}","events_url":"https://api.github.com/repos/hendrikrth/nest-simulator/events","assignees_url":"https://api.github.com/repos/hendrikrth/nest-simulator/assignees{/user}","branches_url":"https://api.github.com/repos/hendrikrth/nest-simulator/branches{/branch}","tags_url":"https://api.github.com/repos/hendrikrth/nest-simulator/tags","blobs_url":"https://api.github.com/repos/hendrikrth/nest-simulator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hendrikrth/nest-simulator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hendrikrth/nest-simulator/git/refs{/sha}","trees_url":"https://api.github.com/repos/hendrikrth/nest-simulator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hendrikrth/nest-simulator/statuses/{sha}","languages_url":"https://api.github.com/repos/hendrikrth/nest-simulator/languages","stargazers_url":"https://api.github.com/repos/hendrikrth/nest-simulator/stargazers","contributors_url":"https://api.github.com/repos/hendrikrth/nest-simulator/contributors","subscribers_url":"https://api.github.com/repos/hendrikrth/nest-simulator/subscribers","subscription_url":"https://api.github.com/repos/hendrikrth/nest-simulator/subscription","commits_url":"https://api.github.com/repos/hendrikrth/nest-simulator/commits{/sha}","git_commits_url":"https://api.github.com/repos/hendrikrth/nest-simulator/git/commits{/sha}","comments_url":"https://api.github.com/repos/hendrikrth/nest-simulator/comments{/number}","issue_comment_url":"https://api.github.com/repos/hendrikrth/nest-simulator/issues/comments{/number}","contents_url":"https://api.github.com/repos/hendrikrth/nest-simulator/contents/{+path}","compare_url":"https://api.github.com/repos/hendrikrth/nest-simulator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hendrikrth/nest-simulator/merges","archive_url":"https://api.github.com/repos/hendrikrth/nest-simulator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hendrikrth/nest-simulator/downloads","issues_url":"https://api.github.com/repos/hendrikrth/nest-simulator/issues{/number}","pulls_url":"https://api.github.com/repos/hendrikrth/nest-simulator/pulls{/number}","milestones_url":"https://api.github.com/repos/hendrikrth/nest-simulator/milestones{/number}","notifications_url":"https://api.github.com/repos/hendrikrth/nest-simulator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hendrikrth/nest-simulator/labels{/name}","releases_url":"https://api.github.com/repos/hendrikrth/nest-simulator/releases{/id}","deployments_url":"https://api.github.com/repos/hendrikrth/nest-simulator/deployments","created_at":"2016-08-04T17:26:54Z","updated_at":"2016-08-04T17:26:58Z","pushed_at":"2016-09-01T20:25:14Z","git_url":"git://github.com/hendrikrth/nest-simulator.git","ssh_url":"git@github.com:hendrikrth/nest-simulator.git","clone_url":"https://github.com/hendrikrth/nest-simulator.git","svn_url":"https://github.com/hendrikrth/nest-simulator","homepage":null,"size":24258,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"nest:master","ref":"master","sha":"073196676b509696288712b6f71de41a0aa34837","user":{"login":"nest","id":2377019,"avatar_url":"https://avatars.githubusercontent.com/u/2377019?v=3","gravatar_id":"","url":"https://api.github.com/users/nest","html_url":"https://github.com/nest","followers_url":"https://api.github.com/users/nest/followers","following_url":"https://api.github.com/users/nest/following{/other_user}","gists_url":"https://api.github.com/users/nest/gists{/gist_id}","starred_url":"https://api.github.com/users/nest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nest/subscriptions","organizations_url":"https://api.github.com/users/nest/orgs","repos_url":"https://api.github.com/users/nest/repos","events_url":"https://api.github.com/users/nest/events{/privacy}","received_events_url":"https://api.github.com/users/nest/received_events","type":"Organization","site_admin":false},"repo":{"id":33933892,"name":"nest-simulator","full_name":"nest/nest-simulator","owner":{"login":"nest","id":2377019,"avatar_url":"https://avatars.githubusercontent.com/u/2377019?v=3","gravatar_id":"","url":"https://api.github.com/users/nest","html_url":"https://github.com/nest","followers_url":"https://api.github.com/users/nest/followers","following_url":"https://api.github.com/users/nest/following{/other_user}","gists_url":"https://api.github.com/users/nest/gists{/gist_id}","starred_url":"https://api.github.com/users/nest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nest/subscriptions","organizations_url":"https://api.github.com/users/nest/orgs","repos_url":"https://api.github.com/users/nest/repos","events_url":"https://api.github.com/users/nest/events{/privacy}","received_events_url":"https://api.github.com/users/nest/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nest/nest-simulator","description":"The NEST simulator","fork":false,"url":"https://api.github.com/repos/nest/nest-simulator","forks_url":"https://api.github.com/repos/nest/nest-simulator/forks","keys_url":"https://api.github.com/repos/nest/nest-simulator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nest/nest-simulator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nest/nest-simulator/teams","hooks_url":"https://api.github.com/repos/nest/nest-simulator/hooks","issue_events_url":"https://api.github.com/repos/nest/nest-simulator/issues/events{/number}","events_url":"https://api.github.com/repos/nest/nest-simulator/events","assignees_url":"https://api.github.com/repos/nest/nest-simulator/assignees{/user}","branches_url":"https://api.github.com/repos/nest/nest-simulator/branches{/branch}","tags_url":"https://api.github.com/repos/nest/nest-simulator/tags","blobs_url":"https://api.github.com/repos/nest/nest-simulator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nest/nest-simulator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nest/nest-simulator/git/refs{/sha}","trees_url":"https://api.github.com/repos/nest/nest-simulator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nest/nest-simulator/statuses/{sha}","languages_url":"https://api.github.com/repos/nest/nest-simulator/languages","stargazers_url":"https://api.github.com/repos/nest/nest-simulator/stargazers","contributors_url":"https://api.github.com/repos/nest/nest-simulator/contributors","subscribers_url":"https://api.github.com/repos/nest/nest-simulator/subscribers","subscription_url":"https://api.github.com/repos/nest/nest-simulator/subscription","commits_url":"https://api.github.com/repos/nest/nest-simulator/commits{/sha}","git_commits_url":"https://api.github.com/repos/nest/nest-simulator/git/commits{/sha}","comments_url":"https://api.github.com/repos/nest/nest-simulator/comments{/number}","issue_comment_url":"https://api.github.com/repos/nest/nest-simulator/issues/comments{/number}","contents_url":"https://api.github.com/repos/nest/nest-simulator/contents/{+path}","compare_url":"https://api.github.com/repos/nest/nest-simulator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nest/nest-simulator/merges","archive_url":"https://api.github.com/repos/nest/nest-simulator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nest/nest-simulator/downloads","issues_url":"https://api.github.com/repos/nest/nest-simulator/issues{/number}","pulls_url":"https://api.github.com/repos/nest/nest-simulator/pulls{/number}","milestones_url":"https://api.github.com/repos/nest/nest-simulator/milestones{/number}","notifications_url":"https://api.github.com/repos/nest/nest-simulator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nest/nest-simulator/labels{/name}","releases_url":"https://api.github.com/repos/nest/nest-simulator/releases{/id}","deployments_url":"https://api.github.com/repos/nest/nest-simulator/deployments","created_at":"2015-04-14T13:39:12Z","updated_at":"2016-08-31T14:40:29Z","pushed_at":"2016-09-09T11:46:29Z","git_url":"git://github.com/nest/nest-simulator.git","ssh_url":"git@github.com:nest/nest-simulator.git","clone_url":"https://github.com/nest/nest-simulator.git","svn_url":"https://github.com/nest/nest-simulator","homepage":null,"size":33061,"stargazers_count":85,"watchers_count":85,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":85,"mirror_url":null,"open_issues_count":145,"forks":85,"open_issues":145,"watchers":85,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nest/nest-simulator/pulls/451"},"html":{"href":"https://github.com/nest/nest-simulator/pull/451"},"issue":{"href":"https://api.github.com/repos/nest/nest-simulator/issues/451"},"comments":{"href":"https://api.github.com/repos/nest/nest-simulator/issues/451/comments"},"review_comments":{"href":"https://api.github.com/repos/nest/nest-simulator/pulls/451/comments"},"review_comment":{"href":"https://api.github.com/repos/nest/nest-simulator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nest/nest-simulator/pulls/451/commits"},"statuses":{"href":"https://api.github.com/repos/nest/nest-simulator/statuses/f4b8a2eac3aade3d1beab9e0d18a46891fd799c5"}}}}
{"actor":{"display_login":"mschmidt87"}}