{"action":"created","comment":{"url":"https://api.github.com/repos/APSIMInitiative/ApsimX/pulls/comments/120042316","pull_request_review_id":41972081,"id":120042316,"diff_hunk":"@@ -487,10 +516,23 @@ private void OnDoPotentialPlantGrowth(object sender, EventArgs e)\n                             BranchNumber += BranchingRate.Value();\n                             DoLeafTipAppearance();\n                         }\n+                        // Apex calculation\n+                        ApexNum += (BranchingRate.Value() - BranchMortality.Value()) * PrimaryBudNo;\n+\n+                        if (StemSenescenceAge != null)","path":"Models/Plant/Structure.cs","position":80,"original_position":80,"commit_id":"01156531222a2cca3c67522506c0d973e75668a9","original_commit_id":"01156531222a2cca3c67522506c0d973e75668a9","user":{"login":"hol353","id":1943827,"avatar_url":"https://avatars1.githubusercontent.com/u/1943827?v=3","gravatar_id":"","url":"https://api.github.com/users/hol353","html_url":"https://github.com/hol353","followers_url":"https://api.github.com/users/hol353/followers","following_url":"https://api.github.com/users/hol353/following{/other_user}","gists_url":"https://api.github.com/users/hol353/gists{/gist_id}","starred_url":"https://api.github.com/users/hol353/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hol353/subscriptions","organizations_url":"https://api.github.com/users/hol353/orgs","repos_url":"https://api.github.com/users/hol353/repos","events_url":"https://api.github.com/users/hol353/events{/privacy}","received_events_url":"https://api.github.com/users/hol353/received_events","type":"User","site_admin":false},"body":"If StemSenescenceAge is optional then no need for the IF statement.","created_at":"2017-06-05T05:12:14Z","updated_at":"2017-06-05T05:30:25Z","html_url":"https://github.com/APSIMInitiative/ApsimX/pull/1680#discussion_r120042316","pull_request_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/pulls/1680","_links":{"self":{"href":"https://api.github.com/repos/APSIMInitiative/ApsimX/pulls/comments/120042316"},"html":{"href":"https://github.com/APSIMInitiative/ApsimX/pull/1680#discussion_r120042316"},"pull_request":{"href":"https://api.github.com/repos/APSIMInitiative/ApsimX/pulls/1680"}}},"pull_request":{"url":"https://api.github.com/repos/APSIMInitiative/ApsimX/pulls/1680","id":121426116,"html_url":"https://github.com/APSIMInitiative/ApsimX/pull/1680","diff_url":"https://github.com/APSIMInitiative/ApsimX/pull/1680.diff","patch_url":"https://github.com/APSIMInitiative/ApsimX/pull/1680.patch","issue_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/1680","number":1680,"state":"open","locked":false,"title":"Features/tiller senesence","user":{"login":"byzheng","id":1657381,"avatar_url":"https://avatars1.githubusercontent.com/u/1657381?v=3","gravatar_id":"","url":"https://api.github.com/users/byzheng","html_url":"https://github.com/byzheng","followers_url":"https://api.github.com/users/byzheng/followers","following_url":"https://api.github.com/users/byzheng/following{/other_user}","gists_url":"https://api.github.com/users/byzheng/gists{/gist_id}","starred_url":"https://api.github.com/users/byzheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byzheng/subscriptions","organizations_url":"https://api.github.com/users/byzheng/orgs","repos_url":"https://api.github.com/users/byzheng/repos","events_url":"https://api.github.com/users/byzheng/events{/privacy}","received_events_url":"https://api.github.com/users/byzheng/received_events","type":"User","site_admin":false},"body":"resolves #1679 Using the apex number to simulate the dynamic of stem development. The changes of current codes don't have impact on existing models. ","created_at":"2017-05-19T05:05:53Z","updated_at":"2017-06-05T05:30:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45b2e1a420b225539c2f6ce85de172e159074033","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/pulls/1680/commits","review_comments_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/pulls/1680/comments","review_comment_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/pulls/comments{/number}","comments_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/1680/comments","statuses_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/statuses/01156531222a2cca3c67522506c0d973e75668a9","head":{"label":"byzheng:features/tiller-senesence","ref":"features/tiller-senesence","sha":"01156531222a2cca3c67522506c0d973e75668a9","user":{"login":"byzheng","id":1657381,"avatar_url":"https://avatars1.githubusercontent.com/u/1657381?v=3","gravatar_id":"","url":"https://api.github.com/users/byzheng","html_url":"https://github.com/byzheng","followers_url":"https://api.github.com/users/byzheng/followers","following_url":"https://api.github.com/users/byzheng/following{/other_user}","gists_url":"https://api.github.com/users/byzheng/gists{/gist_id}","starred_url":"https://api.github.com/users/byzheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byzheng/subscriptions","organizations_url":"https://api.github.com/users/byzheng/orgs","repos_url":"https://api.github.com/users/byzheng/repos","events_url":"https://api.github.com/users/byzheng/events{/privacy}","received_events_url":"https://api.github.com/users/byzheng/received_events","type":"User","site_admin":false},"repo":{"id":46843037,"name":"ApsimX","full_name":"byzheng/ApsimX","owner":{"login":"byzheng","id":1657381,"avatar_url":"https://avatars1.githubusercontent.com/u/1657381?v=3","gravatar_id":"","url":"https://api.github.com/users/byzheng","html_url":"https://github.com/byzheng","followers_url":"https://api.github.com/users/byzheng/followers","following_url":"https://api.github.com/users/byzheng/following{/other_user}","gists_url":"https://api.github.com/users/byzheng/gists{/gist_id}","starred_url":"https://api.github.com/users/byzheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byzheng/subscriptions","organizations_url":"https://api.github.com/users/byzheng/orgs","repos_url":"https://api.github.com/users/byzheng/repos","events_url":"https://api.github.com/users/byzheng/events{/privacy}","received_events_url":"https://api.github.com/users/byzheng/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/byzheng/ApsimX","description":"ApsimX is the next generation of APSIM","fork":true,"url":"https://api.github.com/repos/byzheng/ApsimX","forks_url":"https://api.github.com/repos/byzheng/ApsimX/forks","keys_url":"https://api.github.com/repos/byzheng/ApsimX/keys{/key_id}","collaborators_url":"https://api.github.com/repos/byzheng/ApsimX/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/byzheng/ApsimX/teams","hooks_url":"https://api.github.com/repos/byzheng/ApsimX/hooks","issue_events_url":"https://api.github.com/repos/byzheng/ApsimX/issues/events{/number}","events_url":"https://api.github.com/repos/byzheng/ApsimX/events","assignees_url":"https://api.github.com/repos/byzheng/ApsimX/assignees{/user}","branches_url":"https://api.github.com/repos/byzheng/ApsimX/branches{/branch}","tags_url":"https://api.github.com/repos/byzheng/ApsimX/tags","blobs_url":"https://api.github.com/repos/byzheng/ApsimX/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/byzheng/ApsimX/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/byzheng/ApsimX/git/refs{/sha}","trees_url":"https://api.github.com/repos/byzheng/ApsimX/git/trees{/sha}","statuses_url":"https://api.github.com/repos/byzheng/ApsimX/statuses/{sha}","languages_url":"https://api.github.com/repos/byzheng/ApsimX/languages","stargazers_url":"https://api.github.com/repos/byzheng/ApsimX/stargazers","contributors_url":"https://api.github.com/repos/byzheng/ApsimX/contributors","subscribers_url":"https://api.github.com/repos/byzheng/ApsimX/subscribers","subscription_url":"https://api.github.com/repos/byzheng/ApsimX/subscription","commits_url":"https://api.github.com/repos/byzheng/ApsimX/commits{/sha}","git_commits_url":"https://api.github.com/repos/byzheng/ApsimX/git/commits{/sha}","comments_url":"https://api.github.com/repos/byzheng/ApsimX/comments{/number}","issue_comment_url":"https://api.github.com/repos/byzheng/ApsimX/issues/comments{/number}","contents_url":"https://api.github.com/repos/byzheng/ApsimX/contents/{+path}","compare_url":"https://api.github.com/repos/byzheng/ApsimX/compare/{base}...{head}","merges_url":"https://api.github.com/repos/byzheng/ApsimX/merges","archive_url":"https://api.github.com/repos/byzheng/ApsimX/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/byzheng/ApsimX/downloads","issues_url":"https://api.github.com/repos/byzheng/ApsimX/issues{/number}","pulls_url":"https://api.github.com/repos/byzheng/ApsimX/pulls{/number}","milestones_url":"https://api.github.com/repos/byzheng/ApsimX/milestones{/number}","notifications_url":"https://api.github.com/repos/byzheng/ApsimX/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/byzheng/ApsimX/labels{/name}","releases_url":"https://api.github.com/repos/byzheng/ApsimX/releases{/id}","deployments_url":"https://api.github.com/repos/byzheng/ApsimX/deployments","created_at":"2015-11-25T06:49:47Z","updated_at":"2016-02-05T05:14:48Z","pushed_at":"2017-06-05T03:00:57Z","git_url":"git://github.com/byzheng/ApsimX.git","ssh_url":"git@github.com:byzheng/ApsimX.git","clone_url":"https://github.com/byzheng/ApsimX.git","svn_url":"https://github.com/byzheng/ApsimX","homepage":"http://www.apsim.info","size":265210,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"APSIMInitiative:master","ref":"master","sha":"e0ce14b0a79fac936846c8ee08581958da820da2","user":{"login":"APSIMInitiative","id":11878941,"avatar_url":"https://avatars1.githubusercontent.com/u/11878941?v=3","gravatar_id":"","url":"https://api.github.com/users/APSIMInitiative","html_url":"https://github.com/APSIMInitiative","followers_url":"https://api.github.com/users/APSIMInitiative/followers","following_url":"https://api.github.com/users/APSIMInitiative/following{/other_user}","gists_url":"https://api.github.com/users/APSIMInitiative/gists{/gist_id}","starred_url":"https://api.github.com/users/APSIMInitiative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/APSIMInitiative/subscriptions","organizations_url":"https://api.github.com/users/APSIMInitiative/orgs","repos_url":"https://api.github.com/users/APSIMInitiative/repos","events_url":"https://api.github.com/users/APSIMInitiative/events{/privacy}","received_events_url":"https://api.github.com/users/APSIMInitiative/received_events","type":"Organization","site_admin":false},"repo":{"id":33634731,"name":"ApsimX","full_name":"APSIMInitiative/ApsimX","owner":{"login":"APSIMInitiative","id":11878941,"avatar_url":"https://avatars1.githubusercontent.com/u/11878941?v=3","gravatar_id":"","url":"https://api.github.com/users/APSIMInitiative","html_url":"https://github.com/APSIMInitiative","followers_url":"https://api.github.com/users/APSIMInitiative/followers","following_url":"https://api.github.com/users/APSIMInitiative/following{/other_user}","gists_url":"https://api.github.com/users/APSIMInitiative/gists{/gist_id}","starred_url":"https://api.github.com/users/APSIMInitiative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/APSIMInitiative/subscriptions","organizations_url":"https://api.github.com/users/APSIMInitiative/orgs","repos_url":"https://api.github.com/users/APSIMInitiative/repos","events_url":"https://api.github.com/users/APSIMInitiative/events{/privacy}","received_events_url":"https://api.github.com/users/APSIMInitiative/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/APSIMInitiative/ApsimX","description":"ApsimX is the next generation of APSIM","fork":false,"url":"https://api.github.com/repos/APSIMInitiative/ApsimX","forks_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/forks","keys_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/keys{/key_id}","collaborators_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/teams","hooks_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/hooks","issue_events_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/events{/number}","events_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/events","assignees_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/assignees{/user}","branches_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/branches{/branch}","tags_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/tags","blobs_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/git/refs{/sha}","trees_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/git/trees{/sha}","statuses_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/statuses/{sha}","languages_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/languages","stargazers_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/stargazers","contributors_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/contributors","subscribers_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/subscribers","subscription_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/subscription","commits_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/commits{/sha}","git_commits_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/git/commits{/sha}","comments_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/comments{/number}","issue_comment_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/comments{/number}","contents_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/contents/{+path}","compare_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/compare/{base}...{head}","merges_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/merges","archive_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/downloads","issues_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues{/number}","pulls_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/pulls{/number}","milestones_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/milestones{/number}","notifications_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/labels{/name}","releases_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/releases{/id}","deployments_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/deployments","created_at":"2015-04-08T22:05:54Z","updated_at":"2017-04-25T05:21:52Z","pushed_at":"2017-06-05T05:07:41Z","git_url":"git://github.com/APSIMInitiative/ApsimX.git","ssh_url":"git@github.com:APSIMInitiative/ApsimX.git","clone_url":"https://github.com/APSIMInitiative/ApsimX.git","svn_url":"https://github.com/APSIMInitiative/ApsimX","homepage":"http://www.apsim.info","size":262438,"stargazers_count":22,"watchers_count":22,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":147,"forks":34,"open_issues":147,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/APSIMInitiative/ApsimX/pulls/1680"},"html":{"href":"https://github.com/APSIMInitiative/ApsimX/pull/1680"},"issue":{"href":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/1680"},"comments":{"href":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/1680/comments"},"review_comments":{"href":"https://api.github.com/repos/APSIMInitiative/ApsimX/pulls/1680/comments"},"review_comment":{"href":"https://api.github.com/repos/APSIMInitiative/ApsimX/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/APSIMInitiative/ApsimX/pulls/1680/commits"},"statuses":{"href":"https://api.github.com/repos/APSIMInitiative/ApsimX/statuses/01156531222a2cca3c67522506c0d973e75668a9"}}}}
{"actor":{"display_login":"hol353"}}