{"action":"created","comment":{"url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/pulls/comments/181093675","pull_request_review_id":111636018,"id":181093675,"diff_hunk":"@@ -160,6 +160,20 @@ class MapComponentCtrl {\n           }));\n         this._mapOptions.setAddedReactions(reactions);\n       }\n+      if (changes.measured.reactions) {\n+        const {reactions} = this._mapOptions.getDataModel();\n+        // TODO filter out adapter and DM reactions\n+        let measuredReactions = changes.measured.reactions.filter((reaction) => {\n+          return !['adapter', 'DM', 'EX_'].some((str) => {\n+            return reaction.id.startsWith(str);\n+          });\n+        });\n+        measuredReactions = reactions.filter((reaction) =>\n+           measuredReactions.find((measuredReaction) => measuredReaction.id === reaction.id));\n+        this._mapOptions.setChangedReactions(measuredReactions);\n+        this._setUpMapEventHandlers();\n+      }\n+      this._loadModel();","path":"src/pathwayvis/components/map/map.component.ts","position":33,"original_position":33,"commit_id":"8ad2ed199b7eaa4ac8dea4019a6352f0f8f5b78e","original_commit_id":"8ad2ed199b7eaa4ac8dea4019a6352f0f8f5b78e","user":{"login":"matyasfodor","id":14725644,"avatar_url":"https://avatars2.githubusercontent.com/u/14725644?v=4","gravatar_id":"","url":"https://api.github.com/users/matyasfodor","html_url":"https://github.com/matyasfodor","followers_url":"https://api.github.com/users/matyasfodor/followers","following_url":"https://api.github.com/users/matyasfodor/following{/other_user}","gists_url":"https://api.github.com/users/matyasfodor/gists{/gist_id}","starred_url":"https://api.github.com/users/matyasfodor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matyasfodor/subscriptions","organizations_url":"https://api.github.com/users/matyasfodor/orgs","repos_url":"https://api.github.com/users/matyasfodor/repos","events_url":"https://api.github.com/users/matyasfodor/events{/privacy}","received_events_url":"https://api.github.com/users/matyasfodor/received_events","type":"User","site_admin":false},"body":"I think you have to load model before you add the reactions.","created_at":"2018-04-12T14:06:04Z","updated_at":"2018-04-12T14:18:07Z","html_url":"https://github.com/DD-DeCaF/metabolica-ui-map/pull/153#discussion_r181093675","pull_request_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/pulls/153","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/pulls/comments/181093675"},"html":{"href":"https://github.com/DD-DeCaF/metabolica-ui-map/pull/153#discussion_r181093675"},"pull_request":{"href":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/pulls/153"}}},"pull_request":{"url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/pulls/153","id":180896998,"html_url":"https://github.com/DD-DeCaF/metabolica-ui-map/pull/153","diff_url":"https://github.com/DD-DeCaF/metabolica-ui-map/pull/153.diff","patch_url":"https://github.com/DD-DeCaF/metabolica-ui-map/pull/153.patch","issue_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/issues/153","number":153,"state":"open","locked":false,"title":"feat: change bounds","user":{"login":"AlbaLopez","id":19825066,"avatar_url":"https://avatars1.githubusercontent.com/u/19825066?v=4","gravatar_id":"","url":"https://api.github.com/users/AlbaLopez","html_url":"https://github.com/AlbaLopez","followers_url":"https://api.github.com/users/AlbaLopez/followers","following_url":"https://api.github.com/users/AlbaLopez/following{/other_user}","gists_url":"https://api.github.com/users/AlbaLopez/gists{/gist_id}","starred_url":"https://api.github.com/users/AlbaLopez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlbaLopez/subscriptions","organizations_url":"https://api.github.com/users/AlbaLopez/orgs","repos_url":"https://api.github.com/users/AlbaLopez/repos","events_url":"https://api.github.com/users/AlbaLopez/events{/privacy}","received_events_url":"https://api.github.com/users/AlbaLopez/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-11T13:06:23Z","updated_at":"2018-04-12T14:18:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5af31810389a66a40afd19b4b237d811ec886f54","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":565069067,"url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/labels/ready","name":"ready","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/pulls/153/commits","review_comments_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/pulls/153/comments","review_comment_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/issues/153/comments","statuses_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/statuses/8ad2ed199b7eaa4ac8dea4019a6352f0f8f5b78e","head":{"label":"DD-DeCaF:change-bounds","ref":"change-bounds","sha":"8ad2ed199b7eaa4ac8dea4019a6352f0f8f5b78e","user":{"login":"DD-DeCaF","id":16915142,"avatar_url":"https://avatars3.githubusercontent.com/u/16915142?v=4","gravatar_id":"","url":"https://api.github.com/users/DD-DeCaF","html_url":"https://github.com/DD-DeCaF","followers_url":"https://api.github.com/users/DD-DeCaF/followers","following_url":"https://api.github.com/users/DD-DeCaF/following{/other_user}","gists_url":"https://api.github.com/users/DD-DeCaF/gists{/gist_id}","starred_url":"https://api.github.com/users/DD-DeCaF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DD-DeCaF/subscriptions","organizations_url":"https://api.github.com/users/DD-DeCaF/orgs","repos_url":"https://api.github.com/users/DD-DeCaF/repos","events_url":"https://api.github.com/users/DD-DeCaF/events{/privacy}","received_events_url":"https://api.github.com/users/DD-DeCaF/received_events","type":"Organization","site_admin":false},"repo":{"id":85107630,"name":"metabolica-ui-map","full_name":"DD-DeCaF/metabolica-ui-map","owner":{"login":"DD-DeCaF","id":16915142,"avatar_url":"https://avatars3.githubusercontent.com/u/16915142?v=4","gravatar_id":"","url":"https://api.github.com/users/DD-DeCaF","html_url":"https://github.com/DD-DeCaF","followers_url":"https://api.github.com/users/DD-DeCaF/followers","following_url":"https://api.github.com/users/DD-DeCaF/following{/other_user}","gists_url":"https://api.github.com/users/DD-DeCaF/gists{/gist_id}","starred_url":"https://api.github.com/users/DD-DeCaF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DD-DeCaF/subscriptions","organizations_url":"https://api.github.com/users/DD-DeCaF/orgs","repos_url":"https://api.github.com/users/DD-DeCaF/repos","events_url":"https://api.github.com/users/DD-DeCaF/events{/privacy}","received_events_url":"https://api.github.com/users/DD-DeCaF/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DD-DeCaF/metabolica-ui-map","description":null,"fork":false,"url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map","forks_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/forks","keys_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/teams","hooks_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/hooks","issue_events_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/issues/events{/number}","events_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/events","assignees_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/assignees{/user}","branches_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/branches{/branch}","tags_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/tags","blobs_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/git/refs{/sha}","trees_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/statuses/{sha}","languages_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/languages","stargazers_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/stargazers","contributors_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/contributors","subscribers_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/subscribers","subscription_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/subscription","commits_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/commits{/sha}","git_commits_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/git/commits{/sha}","comments_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/comments{/number}","issue_comment_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/issues/comments{/number}","contents_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/contents/{+path}","compare_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/merges","archive_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/downloads","issues_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/issues{/number}","pulls_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/pulls{/number}","milestones_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/milestones{/number}","notifications_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/labels{/name}","releases_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/releases{/id}","deployments_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/deployments","created_at":"2017-03-15T18:30:24Z","updated_at":"2018-04-06T11:27:00Z","pushed_at":"2018-04-12T13:13:36Z","git_url":"git://github.com/DD-DeCaF/metabolica-ui-map.git","ssh_url":"git@github.com:DD-DeCaF/metabolica-ui-map.git","clone_url":"https://github.com/DD-DeCaF/metabolica-ui-map.git","svn_url":"https://github.com/DD-DeCaF/metabolica-ui-map","homepage":null,"size":1275,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":1,"open_issues":19,"watchers":0,"default_branch":"master"}},"base":{"label":"DD-DeCaF:master","ref":"master","sha":"a175c890d88461be15b21ffef82ccdb028e7e969","user":{"login":"DD-DeCaF","id":16915142,"avatar_url":"https://avatars3.githubusercontent.com/u/16915142?v=4","gravatar_id":"","url":"https://api.github.com/users/DD-DeCaF","html_url":"https://github.com/DD-DeCaF","followers_url":"https://api.github.com/users/DD-DeCaF/followers","following_url":"https://api.github.com/users/DD-DeCaF/following{/other_user}","gists_url":"https://api.github.com/users/DD-DeCaF/gists{/gist_id}","starred_url":"https://api.github.com/users/DD-DeCaF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DD-DeCaF/subscriptions","organizations_url":"https://api.github.com/users/DD-DeCaF/orgs","repos_url":"https://api.github.com/users/DD-DeCaF/repos","events_url":"https://api.github.com/users/DD-DeCaF/events{/privacy}","received_events_url":"https://api.github.com/users/DD-DeCaF/received_events","type":"Organization","site_admin":false},"repo":{"id":85107630,"name":"metabolica-ui-map","full_name":"DD-DeCaF/metabolica-ui-map","owner":{"login":"DD-DeCaF","id":16915142,"avatar_url":"https://avatars3.githubusercontent.com/u/16915142?v=4","gravatar_id":"","url":"https://api.github.com/users/DD-DeCaF","html_url":"https://github.com/DD-DeCaF","followers_url":"https://api.github.com/users/DD-DeCaF/followers","following_url":"https://api.github.com/users/DD-DeCaF/following{/other_user}","gists_url":"https://api.github.com/users/DD-DeCaF/gists{/gist_id}","starred_url":"https://api.github.com/users/DD-DeCaF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DD-DeCaF/subscriptions","organizations_url":"https://api.github.com/users/DD-DeCaF/orgs","repos_url":"https://api.github.com/users/DD-DeCaF/repos","events_url":"https://api.github.com/users/DD-DeCaF/events{/privacy}","received_events_url":"https://api.github.com/users/DD-DeCaF/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DD-DeCaF/metabolica-ui-map","description":null,"fork":false,"url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map","forks_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/forks","keys_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/teams","hooks_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/hooks","issue_events_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/issues/events{/number}","events_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/events","assignees_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/assignees{/user}","branches_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/branches{/branch}","tags_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/tags","blobs_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/git/refs{/sha}","trees_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/statuses/{sha}","languages_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/languages","stargazers_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/stargazers","contributors_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/contributors","subscribers_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/subscribers","subscription_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/subscription","commits_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/commits{/sha}","git_commits_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/git/commits{/sha}","comments_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/comments{/number}","issue_comment_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/issues/comments{/number}","contents_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/contents/{+path}","compare_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/merges","archive_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/downloads","issues_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/issues{/number}","pulls_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/pulls{/number}","milestones_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/milestones{/number}","notifications_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/labels{/name}","releases_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/releases{/id}","deployments_url":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/deployments","created_at":"2017-03-15T18:30:24Z","updated_at":"2018-04-06T11:27:00Z","pushed_at":"2018-04-12T13:13:36Z","git_url":"git://github.com/DD-DeCaF/metabolica-ui-map.git","ssh_url":"git@github.com:DD-DeCaF/metabolica-ui-map.git","clone_url":"https://github.com/DD-DeCaF/metabolica-ui-map.git","svn_url":"https://github.com/DD-DeCaF/metabolica-ui-map","homepage":null,"size":1275,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":1,"open_issues":19,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/pulls/153"},"html":{"href":"https://github.com/DD-DeCaF/metabolica-ui-map/pull/153"},"issue":{"href":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/issues/153"},"comments":{"href":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/issues/153/comments"},"review_comments":{"href":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/pulls/153/comments"},"review_comment":{"href":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/pulls/153/commits"},"statuses":{"href":"https://api.github.com/repos/DD-DeCaF/metabolica-ui-map/statuses/8ad2ed199b7eaa4ac8dea4019a6352f0f8f5b78e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"matyasfodor"}}