{"action":"created","comment":{"url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/pulls/comments/187673947","pull_request_review_id":119507872,"id":187673947,"diff_hunk":"@@ -24,9 +27,20 @@ public void Update(Individual sourceIndividual, Individual targetIndividual)\n          {\n             var newMolecule = _cloner.Clone(molecule);\n             targetIndividual.AddMolecule(newMolecule);\n-            //we have to reset the new ontogeny for the molecule\n+\n+            //Make sure parameters that user defined parameters are reset to default to ensure proper scaling\n+            resetMoleculeParametersToDefault(newMolecule);","path":"src/PKSim.Core/Services/IndividualExpressionsUpdater.cs","position":14,"original_position":14,"commit_id":"06a7ecada8603ed4c9d4d02f4ea160cf173849e8","original_commit_id":"06a7ecada8603ed4c9d4d02f4ea160cf173849e8","user":{"login":"msevestre","id":1041237,"avatar_url":"https://avatars2.githubusercontent.com/u/1041237?v=4","gravatar_id":"","url":"https://api.github.com/users/msevestre","html_url":"https://github.com/msevestre","followers_url":"https://api.github.com/users/msevestre/followers","following_url":"https://api.github.com/users/msevestre/following{/other_user}","gists_url":"https://api.github.com/users/msevestre/gists{/gist_id}","starred_url":"https://api.github.com/users/msevestre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msevestre/subscriptions","organizations_url":"https://api.github.com/users/msevestre/orgs","repos_url":"https://api.github.com/users/msevestre/repos","events_url":"https://api.github.com/users/msevestre/events{/privacy}","received_events_url":"https://api.github.com/users/msevestre/received_events","type":"User","site_admin":false},"body":"At the moment, molecule were cloned and added. When the user changed the default value, the \"default value \" of the target value was wrong. Parameter needs to be reset to default to see the scaling magic happen","created_at":"2018-05-11T17:01:32Z","updated_at":"2018-05-11T17:01:41Z","html_url":"https://github.com/Open-Systems-Pharmacology/PK-Sim/pull/716#discussion_r187673947","pull_request_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/pulls/716","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/pulls/comments/187673947"},"html":{"href":"https://github.com/Open-Systems-Pharmacology/PK-Sim/pull/716#discussion_r187673947"},"pull_request":{"href":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/pulls/716"}}},"pull_request":{"url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/pulls/716","id":187518222,"html_url":"https://github.com/Open-Systems-Pharmacology/PK-Sim/pull/716","diff_url":"https://github.com/Open-Systems-Pharmacology/PK-Sim/pull/716.diff","patch_url":"https://github.com/Open-Systems-Pharmacology/PK-Sim/pull/716.patch","issue_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/issues/716","number":716,"state":"open","locked":false,"title":"Fixes #649 wrong default value in Scale Individual function","user":{"login":"msevestre","id":1041237,"avatar_url":"https://avatars2.githubusercontent.com/u/1041237?v=4","gravatar_id":"","url":"https://api.github.com/users/msevestre","html_url":"https://github.com/msevestre","followers_url":"https://api.github.com/users/msevestre/followers","following_url":"https://api.github.com/users/msevestre/following{/other_user}","gists_url":"https://api.github.com/users/msevestre/gists{/gist_id}","starred_url":"https://api.github.com/users/msevestre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msevestre/subscriptions","organizations_url":"https://api.github.com/users/msevestre/orgs","repos_url":"https://api.github.com/users/msevestre/repos","events_url":"https://api.github.com/users/msevestre/events{/privacy}","received_events_url":"https://api.github.com/users/msevestre/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-11T17:00:43Z","updated_at":"2018-05-11T17:01:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2cd38415c8105dfef535b921839538faa9b9e008","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Yuri05","id":25061876,"avatar_url":"https://avatars2.githubusercontent.com/u/25061876?v=4","gravatar_id":"","url":"https://api.github.com/users/Yuri05","html_url":"https://github.com/Yuri05","followers_url":"https://api.github.com/users/Yuri05/followers","following_url":"https://api.github.com/users/Yuri05/following{/other_user}","gists_url":"https://api.github.com/users/Yuri05/gists{/gist_id}","starred_url":"https://api.github.com/users/Yuri05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yuri05/subscriptions","organizations_url":"https://api.github.com/users/Yuri05/orgs","repos_url":"https://api.github.com/users/Yuri05/repos","events_url":"https://api.github.com/users/Yuri05/events{/privacy}","received_events_url":"https://api.github.com/users/Yuri05/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/pulls/716/commits","review_comments_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/pulls/716/comments","review_comment_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/issues/716/comments","statuses_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/statuses/06a7ecada8603ed4c9d4d02f4ea160cf173849e8","head":{"label":"msevestre:649-wrong-individual-value-scale","ref":"649-wrong-individual-value-scale","sha":"06a7ecada8603ed4c9d4d02f4ea160cf173849e8","user":{"login":"msevestre","id":1041237,"avatar_url":"https://avatars2.githubusercontent.com/u/1041237?v=4","gravatar_id":"","url":"https://api.github.com/users/msevestre","html_url":"https://github.com/msevestre","followers_url":"https://api.github.com/users/msevestre/followers","following_url":"https://api.github.com/users/msevestre/following{/other_user}","gists_url":"https://api.github.com/users/msevestre/gists{/gist_id}","starred_url":"https://api.github.com/users/msevestre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msevestre/subscriptions","organizations_url":"https://api.github.com/users/msevestre/orgs","repos_url":"https://api.github.com/users/msevestre/repos","events_url":"https://api.github.com/users/msevestre/events{/privacy}","received_events_url":"https://api.github.com/users/msevestre/received_events","type":"User","site_admin":false},"repo":{"id":86487080,"name":"PK-Sim","full_name":"msevestre/PK-Sim","owner":{"login":"msevestre","id":1041237,"avatar_url":"https://avatars2.githubusercontent.com/u/1041237?v=4","gravatar_id":"","url":"https://api.github.com/users/msevestre","html_url":"https://github.com/msevestre","followers_url":"https://api.github.com/users/msevestre/followers","following_url":"https://api.github.com/users/msevestre/following{/other_user}","gists_url":"https://api.github.com/users/msevestre/gists{/gist_id}","starred_url":"https://api.github.com/users/msevestre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msevestre/subscriptions","organizations_url":"https://api.github.com/users/msevestre/orgs","repos_url":"https://api.github.com/users/msevestre/repos","events_url":"https://api.github.com/users/msevestre/events{/privacy}","received_events_url":"https://api.github.com/users/msevestre/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/msevestre/PK-Sim","description":"PK-Sim® is a comprehensive software tool for whole-body physiologically based pharmacokinetic modeling","fork":true,"url":"https://api.github.com/repos/msevestre/PK-Sim","forks_url":"https://api.github.com/repos/msevestre/PK-Sim/forks","keys_url":"https://api.github.com/repos/msevestre/PK-Sim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/msevestre/PK-Sim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/msevestre/PK-Sim/teams","hooks_url":"https://api.github.com/repos/msevestre/PK-Sim/hooks","issue_events_url":"https://api.github.com/repos/msevestre/PK-Sim/issues/events{/number}","events_url":"https://api.github.com/repos/msevestre/PK-Sim/events","assignees_url":"https://api.github.com/repos/msevestre/PK-Sim/assignees{/user}","branches_url":"https://api.github.com/repos/msevestre/PK-Sim/branches{/branch}","tags_url":"https://api.github.com/repos/msevestre/PK-Sim/tags","blobs_url":"https://api.github.com/repos/msevestre/PK-Sim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/msevestre/PK-Sim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/msevestre/PK-Sim/git/refs{/sha}","trees_url":"https://api.github.com/repos/msevestre/PK-Sim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/msevestre/PK-Sim/statuses/{sha}","languages_url":"https://api.github.com/repos/msevestre/PK-Sim/languages","stargazers_url":"https://api.github.com/repos/msevestre/PK-Sim/stargazers","contributors_url":"https://api.github.com/repos/msevestre/PK-Sim/contributors","subscribers_url":"https://api.github.com/repos/msevestre/PK-Sim/subscribers","subscription_url":"https://api.github.com/repos/msevestre/PK-Sim/subscription","commits_url":"https://api.github.com/repos/msevestre/PK-Sim/commits{/sha}","git_commits_url":"https://api.github.com/repos/msevestre/PK-Sim/git/commits{/sha}","comments_url":"https://api.github.com/repos/msevestre/PK-Sim/comments{/number}","issue_comment_url":"https://api.github.com/repos/msevestre/PK-Sim/issues/comments{/number}","contents_url":"https://api.github.com/repos/msevestre/PK-Sim/contents/{+path}","compare_url":"https://api.github.com/repos/msevestre/PK-Sim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/msevestre/PK-Sim/merges","archive_url":"https://api.github.com/repos/msevestre/PK-Sim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/msevestre/PK-Sim/downloads","issues_url":"https://api.github.com/repos/msevestre/PK-Sim/issues{/number}","pulls_url":"https://api.github.com/repos/msevestre/PK-Sim/pulls{/number}","milestones_url":"https://api.github.com/repos/msevestre/PK-Sim/milestones{/number}","notifications_url":"https://api.github.com/repos/msevestre/PK-Sim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/msevestre/PK-Sim/labels{/name}","releases_url":"https://api.github.com/repos/msevestre/PK-Sim/releases{/id}","deployments_url":"https://api.github.com/repos/msevestre/PK-Sim/deployments","created_at":"2017-03-28T17:17:08Z","updated_at":"2017-03-28T17:17:16Z","pushed_at":"2018-05-11T17:00:28Z","git_url":"git://github.com/msevestre/PK-Sim.git","ssh_url":"git@github.com:msevestre/PK-Sim.git","clone_url":"https://github.com/msevestre/PK-Sim.git","svn_url":"https://github.com/msevestre/PK-Sim","homepage":"","size":178522,"stargazers_count":0,"watchers_count":0,"language":"C#","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":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Open-Systems-Pharmacology:develop","ref":"develop","sha":"c70b340e39328bdf4dfc1554779d930909c3e250","user":{"login":"Open-Systems-Pharmacology","id":25098323,"avatar_url":"https://avatars1.githubusercontent.com/u/25098323?v=4","gravatar_id":"","url":"https://api.github.com/users/Open-Systems-Pharmacology","html_url":"https://github.com/Open-Systems-Pharmacology","followers_url":"https://api.github.com/users/Open-Systems-Pharmacology/followers","following_url":"https://api.github.com/users/Open-Systems-Pharmacology/following{/other_user}","gists_url":"https://api.github.com/users/Open-Systems-Pharmacology/gists{/gist_id}","starred_url":"https://api.github.com/users/Open-Systems-Pharmacology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Open-Systems-Pharmacology/subscriptions","organizations_url":"https://api.github.com/users/Open-Systems-Pharmacology/orgs","repos_url":"https://api.github.com/users/Open-Systems-Pharmacology/repos","events_url":"https://api.github.com/users/Open-Systems-Pharmacology/events{/privacy}","received_events_url":"https://api.github.com/users/Open-Systems-Pharmacology/received_events","type":"Organization","site_admin":false},"repo":{"id":81575614,"name":"PK-Sim","full_name":"Open-Systems-Pharmacology/PK-Sim","owner":{"login":"Open-Systems-Pharmacology","id":25098323,"avatar_url":"https://avatars1.githubusercontent.com/u/25098323?v=4","gravatar_id":"","url":"https://api.github.com/users/Open-Systems-Pharmacology","html_url":"https://github.com/Open-Systems-Pharmacology","followers_url":"https://api.github.com/users/Open-Systems-Pharmacology/followers","following_url":"https://api.github.com/users/Open-Systems-Pharmacology/following{/other_user}","gists_url":"https://api.github.com/users/Open-Systems-Pharmacology/gists{/gist_id}","starred_url":"https://api.github.com/users/Open-Systems-Pharmacology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Open-Systems-Pharmacology/subscriptions","organizations_url":"https://api.github.com/users/Open-Systems-Pharmacology/orgs","repos_url":"https://api.github.com/users/Open-Systems-Pharmacology/repos","events_url":"https://api.github.com/users/Open-Systems-Pharmacology/events{/privacy}","received_events_url":"https://api.github.com/users/Open-Systems-Pharmacology/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Open-Systems-Pharmacology/PK-Sim","description":"PK-Sim® is a comprehensive software tool for whole-body physiologically based pharmacokinetic modeling","fork":false,"url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim","forks_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/forks","keys_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/teams","hooks_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/hooks","issue_events_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/issues/events{/number}","events_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/events","assignees_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/assignees{/user}","branches_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/branches{/branch}","tags_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/tags","blobs_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/git/refs{/sha}","trees_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/statuses/{sha}","languages_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/languages","stargazers_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/stargazers","contributors_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/contributors","subscribers_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/subscribers","subscription_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/subscription","commits_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/commits{/sha}","git_commits_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/git/commits{/sha}","comments_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/comments{/number}","issue_comment_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/issues/comments{/number}","contents_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/contents/{+path}","compare_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/merges","archive_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/downloads","issues_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/issues{/number}","pulls_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/pulls{/number}","milestones_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/milestones{/number}","notifications_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/labels{/name}","releases_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/releases{/id}","deployments_url":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/deployments","created_at":"2017-02-10T14:58:51Z","updated_at":"2018-05-11T09:50:46Z","pushed_at":"2018-05-11T17:00:44Z","git_url":"git://github.com/Open-Systems-Pharmacology/PK-Sim.git","ssh_url":"git@github.com:Open-Systems-Pharmacology/PK-Sim.git","clone_url":"https://github.com/Open-Systems-Pharmacology/PK-Sim.git","svn_url":"https://github.com/Open-Systems-Pharmacology/PK-Sim","homepage":"","size":178362,"stargazers_count":14,"watchers_count":14,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":109,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":6,"open_issues":109,"watchers":14,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/pulls/716"},"html":{"href":"https://github.com/Open-Systems-Pharmacology/PK-Sim/pull/716"},"issue":{"href":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/issues/716"},"comments":{"href":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/issues/716/comments"},"review_comments":{"href":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/pulls/716/comments"},"review_comment":{"href":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/pulls/716/commits"},"statuses":{"href":"https://api.github.com/repos/Open-Systems-Pharmacology/PK-Sim/statuses/06a7ecada8603ed4c9d4d02f4ea160cf173849e8"}},"author_association":"OWNER"}}
{"actor":{"display_login":"msevestre"}}