{"action":"created","comment":{"url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/pulls/comments/187144400","pull_request_review_id":118865740,"id":187144400,"diff_hunk":"@@ -1,107 +1,65 @@\n import React, { Component } from 'react';\n import SelectField from 'material-ui/SelectField';\n-import MenuItem from 'material-ui/MenuItem';\n import TextField from 'material-ui/TextField';\n-import Tooltip from 'material-ui/internal/Tooltip';\n-import FlatButton from 'material-ui/FlatButton';\n-import RaisedButton from 'material-ui/RaisedButton';\n-import Toggle from 'material-ui/Toggle';\n-import FontIcon from 'material-ui/FontIcon';\n-import CardText from 'material-ui/Card';\n import Utils from '../../../../../Utils';\n-import { BottomNavigation, BottomNavigationItem } from 'material-ui/BottomNavigation';\n+import NetPyNEField from '../../../../general/NetPyNEField';\n \n var PythonControlledCapability = require('../../../../../../../js/communication/geppettoJupyter/PythonControlledCapability');\n var PythonControlledTextField = PythonControlledCapability.createPythonControlledControl(TextField);\n-var PythonControlledSelectField = PythonControlledCapability.createPythonControlledControl(SelectField);\n+var PythonMethodControlledSelectField = PythonControlledCapability.createPythonControlledControlWithPythonDataFetch(SelectField);\n \n export default class NetPyNEMechanism extends React.Component {\n \n   constructor(props) {\n     super(props);\n-    var _this = this;\n     this.state = {\n-      currentName: props.name,\n-      selectedIndex: 0,\n-      sectionId: \"General\"\n+      currentMech: props.name,","path":"components/definition/cellRules/sections/mechanisms/NetPyNEMechanism.js","position":29,"original_position":29,"commit_id":"10684bec518edb724c7592fc5938fb37fef904f3","original_commit_id":"10684bec518edb724c7592fc5938fb37fef904f3","user":{"login":"rodriguez-facundo","id":32278395,"avatar_url":"https://avatars1.githubusercontent.com/u/32278395?v=4","gravatar_id":"","url":"https://api.github.com/users/rodriguez-facundo","html_url":"https://github.com/rodriguez-facundo","followers_url":"https://api.github.com/users/rodriguez-facundo/followers","following_url":"https://api.github.com/users/rodriguez-facundo/following{/other_user}","gists_url":"https://api.github.com/users/rodriguez-facundo/gists{/gist_id}","starred_url":"https://api.github.com/users/rodriguez-facundo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodriguez-facundo/subscriptions","organizations_url":"https://api.github.com/users/rodriguez-facundo/orgs","repos_url":"https://api.github.com/users/rodriguez-facundo/repos","events_url":"https://api.github.com/users/rodriguez-facundo/events{/privacy}","received_events_url":"https://api.github.com/users/rodriguez-facundo/received_events","type":"User","site_admin":false},"body":"ok. will update","created_at":"2018-05-09T19:06:03Z","updated_at":"2018-05-09T19:06:03Z","html_url":"https://github.com/MetaCell/geppetto-netpyne/pull/16#discussion_r187144400","pull_request_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/pulls/16","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/MetaCell/geppetto-netpyne/pulls/comments/187144400"},"html":{"href":"https://github.com/MetaCell/geppetto-netpyne/pull/16#discussion_r187144400"},"pull_request":{"href":"https://api.github.com/repos/MetaCell/geppetto-netpyne/pulls/16"}},"in_reply_to_id":187036353},"pull_request":{"url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/pulls/16","id":186517239,"html_url":"https://github.com/MetaCell/geppetto-netpyne/pull/16","diff_url":"https://github.com/MetaCell/geppetto-netpyne/pull/16.diff","patch_url":"https://github.com/MetaCell/geppetto-netpyne/pull/16.patch","issue_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/issues/16","number":16,"state":"open","locked":false,"title":"add density mechanisms fields","user":{"login":"rodriguez-facundo","id":32278395,"avatar_url":"https://avatars1.githubusercontent.com/u/32278395?v=4","gravatar_id":"","url":"https://api.github.com/users/rodriguez-facundo","html_url":"https://github.com/rodriguez-facundo","followers_url":"https://api.github.com/users/rodriguez-facundo/followers","following_url":"https://api.github.com/users/rodriguez-facundo/following{/other_user}","gists_url":"https://api.github.com/users/rodriguez-facundo/gists{/gist_id}","starred_url":"https://api.github.com/users/rodriguez-facundo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodriguez-facundo/subscriptions","organizations_url":"https://api.github.com/users/rodriguez-facundo/orgs","repos_url":"https://api.github.com/users/rodriguez-facundo/repos","events_url":"https://api.github.com/users/rodriguez-facundo/events{/privacy}","received_events_url":"https://api.github.com/users/rodriguez-facundo/received_events","type":"User","site_admin":false},"body":"this requires:\r\nhttps://github.com/MetaCell/NetPyNE-UI/pull/17\r\n\r\nA **list** of available **density** **mechanisms** is displayed and a **pythonControlledTextFields** is created for each parameter in the mechanism.","created_at":"2018-05-08T03:24:24Z","updated_at":"2018-05-09T19:06:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"787e8ca9a786976e57f0cac7535132cc52510698","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/pulls/16/commits","review_comments_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/pulls/16/comments","review_comment_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/issues/16/comments","statuses_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/statuses/10684bec518edb724c7592fc5938fb37fef904f3","head":{"label":"rodriguez-facundo:development-mechanisms","ref":"development-mechanisms","sha":"10684bec518edb724c7592fc5938fb37fef904f3","user":{"login":"rodriguez-facundo","id":32278395,"avatar_url":"https://avatars1.githubusercontent.com/u/32278395?v=4","gravatar_id":"","url":"https://api.github.com/users/rodriguez-facundo","html_url":"https://github.com/rodriguez-facundo","followers_url":"https://api.github.com/users/rodriguez-facundo/followers","following_url":"https://api.github.com/users/rodriguez-facundo/following{/other_user}","gists_url":"https://api.github.com/users/rodriguez-facundo/gists{/gist_id}","starred_url":"https://api.github.com/users/rodriguez-facundo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodriguez-facundo/subscriptions","organizations_url":"https://api.github.com/users/rodriguez-facundo/orgs","repos_url":"https://api.github.com/users/rodriguez-facundo/repos","events_url":"https://api.github.com/users/rodriguez-facundo/events{/privacy}","received_events_url":"https://api.github.com/users/rodriguez-facundo/received_events","type":"User","site_admin":false},"repo":{"id":129995399,"name":"geppetto-netpyne","full_name":"rodriguez-facundo/geppetto-netpyne","owner":{"login":"rodriguez-facundo","id":32278395,"avatar_url":"https://avatars1.githubusercontent.com/u/32278395?v=4","gravatar_id":"","url":"https://api.github.com/users/rodriguez-facundo","html_url":"https://github.com/rodriguez-facundo","followers_url":"https://api.github.com/users/rodriguez-facundo/followers","following_url":"https://api.github.com/users/rodriguez-facundo/following{/other_user}","gists_url":"https://api.github.com/users/rodriguez-facundo/gists{/gist_id}","starred_url":"https://api.github.com/users/rodriguez-facundo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodriguez-facundo/subscriptions","organizations_url":"https://api.github.com/users/rodriguez-facundo/orgs","repos_url":"https://api.github.com/users/rodriguez-facundo/repos","events_url":"https://api.github.com/users/rodriguez-facundo/events{/privacy}","received_events_url":"https://api.github.com/users/rodriguez-facundo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rodriguez-facundo/geppetto-netpyne","description":"Geppetto extension for NetPyNE","fork":true,"url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne","forks_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/forks","keys_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/teams","hooks_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/hooks","issue_events_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/issues/events{/number}","events_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/events","assignees_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/assignees{/user}","branches_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/branches{/branch}","tags_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/tags","blobs_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/git/refs{/sha}","trees_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/statuses/{sha}","languages_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/languages","stargazers_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/stargazers","contributors_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/contributors","subscribers_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/subscribers","subscription_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/subscription","commits_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/commits{/sha}","git_commits_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/git/commits{/sha}","comments_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/comments{/number}","issue_comment_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/issues/comments{/number}","contents_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/contents/{+path}","compare_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/merges","archive_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/downloads","issues_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/issues{/number}","pulls_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/pulls{/number}","milestones_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/milestones{/number}","notifications_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/labels{/name}","releases_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/releases{/id}","deployments_url":"https://api.github.com/repos/rodriguez-facundo/geppetto-netpyne/deployments","created_at":"2018-04-18T02:58:37Z","updated_at":"2018-04-18T02:58:39Z","pushed_at":"2018-05-08T03:17:18Z","git_url":"git://github.com/rodriguez-facundo/geppetto-netpyne.git","ssh_url":"git@github.com:rodriguez-facundo/geppetto-netpyne.git","clone_url":"https://github.com/rodriguez-facundo/geppetto-netpyne.git","svn_url":"https://github.com/rodriguez-facundo/geppetto-netpyne","homepage":null,"size":1320,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MetaCell:development","ref":"development","sha":"14199cc255a215a62e9e31e5fddbd65a34cd1f2f","user":{"login":"MetaCell","id":10982870,"avatar_url":"https://avatars3.githubusercontent.com/u/10982870?v=4","gravatar_id":"","url":"https://api.github.com/users/MetaCell","html_url":"https://github.com/MetaCell","followers_url":"https://api.github.com/users/MetaCell/followers","following_url":"https://api.github.com/users/MetaCell/following{/other_user}","gists_url":"https://api.github.com/users/MetaCell/gists{/gist_id}","starred_url":"https://api.github.com/users/MetaCell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MetaCell/subscriptions","organizations_url":"https://api.github.com/users/MetaCell/orgs","repos_url":"https://api.github.com/users/MetaCell/repos","events_url":"https://api.github.com/users/MetaCell/events{/privacy}","received_events_url":"https://api.github.com/users/MetaCell/received_events","type":"Organization","site_admin":false},"repo":{"id":122104691,"name":"geppetto-netpyne","full_name":"MetaCell/geppetto-netpyne","owner":{"login":"MetaCell","id":10982870,"avatar_url":"https://avatars3.githubusercontent.com/u/10982870?v=4","gravatar_id":"","url":"https://api.github.com/users/MetaCell","html_url":"https://github.com/MetaCell","followers_url":"https://api.github.com/users/MetaCell/followers","following_url":"https://api.github.com/users/MetaCell/following{/other_user}","gists_url":"https://api.github.com/users/MetaCell/gists{/gist_id}","starred_url":"https://api.github.com/users/MetaCell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MetaCell/subscriptions","organizations_url":"https://api.github.com/users/MetaCell/orgs","repos_url":"https://api.github.com/users/MetaCell/repos","events_url":"https://api.github.com/users/MetaCell/events{/privacy}","received_events_url":"https://api.github.com/users/MetaCell/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MetaCell/geppetto-netpyne","description":"Geppetto extension for NetPyNE","fork":false,"url":"https://api.github.com/repos/MetaCell/geppetto-netpyne","forks_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/forks","keys_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/teams","hooks_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/hooks","issue_events_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/issues/events{/number}","events_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/events","assignees_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/assignees{/user}","branches_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/branches{/branch}","tags_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/tags","blobs_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/git/refs{/sha}","trees_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/statuses/{sha}","languages_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/languages","stargazers_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/stargazers","contributors_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/contributors","subscribers_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/subscribers","subscription_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/subscription","commits_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/commits{/sha}","git_commits_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/git/commits{/sha}","comments_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/comments{/number}","issue_comment_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/issues/comments{/number}","contents_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/contents/{+path}","compare_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/merges","archive_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/downloads","issues_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/issues{/number}","pulls_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/pulls{/number}","milestones_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/milestones{/number}","notifications_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/labels{/name}","releases_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/releases{/id}","deployments_url":"https://api.github.com/repos/MetaCell/geppetto-netpyne/deployments","created_at":"2018-02-19T18:39:57Z","updated_at":"2018-02-28T22:25:18Z","pushed_at":"2018-05-08T03:24:25Z","git_url":"git://github.com/MetaCell/geppetto-netpyne.git","ssh_url":"git@github.com:MetaCell/geppetto-netpyne.git","clone_url":"https://github.com/MetaCell/geppetto-netpyne.git","svn_url":"https://github.com/MetaCell/geppetto-netpyne","homepage":null,"size":1314,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":2,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MetaCell/geppetto-netpyne/pulls/16"},"html":{"href":"https://github.com/MetaCell/geppetto-netpyne/pull/16"},"issue":{"href":"https://api.github.com/repos/MetaCell/geppetto-netpyne/issues/16"},"comments":{"href":"https://api.github.com/repos/MetaCell/geppetto-netpyne/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/MetaCell/geppetto-netpyne/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/MetaCell/geppetto-netpyne/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MetaCell/geppetto-netpyne/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/MetaCell/geppetto-netpyne/statuses/10684bec518edb724c7592fc5938fb37fef904f3"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"rodriguez-facundo"}}