{"action":"created","comment":{"url":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/comments/344314236","pull_request_review_id":314388554,"id":344314236,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM0NDMxNDIzNg==","diff_hunk":"@@ -161,3 +161,23 @@ def test_biosample_summary_construct(testapp,\n     assert res.json['object']['summary'] == (\n         'Drosophila melanogaster '\n         'female (10 days) liver tissue stably expressing C-terminal eGFP-tagged ATF4 under daf-2 promoter')\n+\n+\n+def test_is_perturbed(\n+    testapp,\n+    biosample_1,\n+    interference_genetic_modification,\n+):\n+    testapp.patch_json(biosample_1['@id'], {\n+        'genetic_modifications': [interference_genetic_modification['@id']],\n+        })\n+    res = testapp.get(biosample_1['@id']+'@@index-data')\n+    assert res.json['object']['perturbed'] is True\n+\n+\n+def test_is_not_perturbed(","path":"src/encoded/tests/test_types_biosample.py","position":null,"original_position":18,"commit_id":"7bb6597e64a7bf030e2977761d77155ff210f71b","original_commit_id":"419b5b618b74bd2d8b817f6a6a33f153c2eba475","user":{"login":"jenjou","id":42983888,"node_id":"MDQ6VXNlcjQyOTgzODg4","avatar_url":"https://avatars0.githubusercontent.com/u/42983888?v=4","gravatar_id":"","url":"https://api.github.com/users/jenjou","html_url":"https://github.com/jenjou","followers_url":"https://api.github.com/users/jenjou/followers","following_url":"https://api.github.com/users/jenjou/following{/other_user}","gists_url":"https://api.github.com/users/jenjou/gists{/gist_id}","starred_url":"https://api.github.com/users/jenjou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenjou/subscriptions","organizations_url":"https://api.github.com/users/jenjou/orgs","repos_url":"https://api.github.com/users/jenjou/repos","events_url":"https://api.github.com/users/jenjou/events{/privacy}","received_events_url":"https://api.github.com/users/jenjou/received_events","type":"User","site_admin":false},"body":"Added 2 more tests","created_at":"2019-11-08T18:43:50Z","updated_at":"2019-11-08T18:43:50Z","html_url":"https://github.com/ENCODE-DCC/encoded/pull/3026#discussion_r344314236","pull_request_url":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/3026","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/comments/344314236"},"html":{"href":"https://github.com/ENCODE-DCC/encoded/pull/3026#discussion_r344314236"},"pull_request":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/3026"}},"in_reply_to_id":343923079},"pull_request":{"url":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/3026","id":337802896,"node_id":"MDExOlB1bGxSZXF1ZXN0MzM3ODAyODk2","html_url":"https://github.com/ENCODE-DCC/encoded/pull/3026","diff_url":"https://github.com/ENCODE-DCC/encoded/pull/3026.diff","patch_url":"https://github.com/ENCODE-DCC/encoded/pull/3026.patch","issue_url":"https://api.github.com/repos/ENCODE-DCC/encoded/issues/3026","number":3026,"state":"open","locked":false,"title":"ENCD-4934-add-perturbed-property-to-biosample","user":{"login":"jenjou","id":42983888,"node_id":"MDQ6VXNlcjQyOTgzODg4","avatar_url":"https://avatars0.githubusercontent.com/u/42983888?v=4","gravatar_id":"","url":"https://api.github.com/users/jenjou","html_url":"https://github.com/jenjou","followers_url":"https://api.github.com/users/jenjou/followers","following_url":"https://api.github.com/users/jenjou/following{/other_user}","gists_url":"https://api.github.com/users/jenjou/gists{/gist_id}","starred_url":"https://api.github.com/users/jenjou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenjou/subscriptions","organizations_url":"https://api.github.com/users/jenjou/orgs","repos_url":"https://api.github.com/users/jenjou/repos","events_url":"https://api.github.com/users/jenjou/events{/privacy}","received_events_url":"https://api.github.com/users/jenjou/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-11-07T00:51:43Z","updated_at":"2019-11-08T18:43:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cf25472edae24145d872ea7ab8c70d99065f4b27","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/3026/commits","review_comments_url":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/3026/comments","review_comment_url":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ENCODE-DCC/encoded/issues/3026/comments","statuses_url":"https://api.github.com/repos/ENCODE-DCC/encoded/statuses/7bb6597e64a7bf030e2977761d77155ff210f71b","head":{"label":"ENCODE-DCC:ENCD-4934-biosample-perturbed","ref":"ENCD-4934-biosample-perturbed","sha":"7bb6597e64a7bf030e2977761d77155ff210f71b","user":{"login":"ENCODE-DCC","id":1713898,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTM4OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/1713898?v=4","gravatar_id":"","url":"https://api.github.com/users/ENCODE-DCC","html_url":"https://github.com/ENCODE-DCC","followers_url":"https://api.github.com/users/ENCODE-DCC/followers","following_url":"https://api.github.com/users/ENCODE-DCC/following{/other_user}","gists_url":"https://api.github.com/users/ENCODE-DCC/gists{/gist_id}","starred_url":"https://api.github.com/users/ENCODE-DCC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ENCODE-DCC/subscriptions","organizations_url":"https://api.github.com/users/ENCODE-DCC/orgs","repos_url":"https://api.github.com/users/ENCODE-DCC/repos","events_url":"https://api.github.com/users/ENCODE-DCC/events{/privacy}","received_events_url":"https://api.github.com/users/ENCODE-DCC/received_events","type":"Organization","site_admin":false},"repo":{"id":7045549,"node_id":"MDEwOlJlcG9zaXRvcnk3MDQ1NTQ5","name":"encoded","full_name":"ENCODE-DCC/encoded","private":false,"owner":{"login":"ENCODE-DCC","id":1713898,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTM4OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/1713898?v=4","gravatar_id":"","url":"https://api.github.com/users/ENCODE-DCC","html_url":"https://github.com/ENCODE-DCC","followers_url":"https://api.github.com/users/ENCODE-DCC/followers","following_url":"https://api.github.com/users/ENCODE-DCC/following{/other_user}","gists_url":"https://api.github.com/users/ENCODE-DCC/gists{/gist_id}","starred_url":"https://api.github.com/users/ENCODE-DCC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ENCODE-DCC/subscriptions","organizations_url":"https://api.github.com/users/ENCODE-DCC/orgs","repos_url":"https://api.github.com/users/ENCODE-DCC/repos","events_url":"https://api.github.com/users/ENCODE-DCC/events{/privacy}","received_events_url":"https://api.github.com/users/ENCODE-DCC/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ENCODE-DCC/encoded","description":"Metadata database for ENCODE project","fork":false,"url":"https://api.github.com/repos/ENCODE-DCC/encoded","forks_url":"https://api.github.com/repos/ENCODE-DCC/encoded/forks","keys_url":"https://api.github.com/repos/ENCODE-DCC/encoded/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ENCODE-DCC/encoded/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ENCODE-DCC/encoded/teams","hooks_url":"https://api.github.com/repos/ENCODE-DCC/encoded/hooks","issue_events_url":"https://api.github.com/repos/ENCODE-DCC/encoded/issues/events{/number}","events_url":"https://api.github.com/repos/ENCODE-DCC/encoded/events","assignees_url":"https://api.github.com/repos/ENCODE-DCC/encoded/assignees{/user}","branches_url":"https://api.github.com/repos/ENCODE-DCC/encoded/branches{/branch}","tags_url":"https://api.github.com/repos/ENCODE-DCC/encoded/tags","blobs_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/refs{/sha}","trees_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ENCODE-DCC/encoded/statuses/{sha}","languages_url":"https://api.github.com/repos/ENCODE-DCC/encoded/languages","stargazers_url":"https://api.github.com/repos/ENCODE-DCC/encoded/stargazers","contributors_url":"https://api.github.com/repos/ENCODE-DCC/encoded/contributors","subscribers_url":"https://api.github.com/repos/ENCODE-DCC/encoded/subscribers","subscription_url":"https://api.github.com/repos/ENCODE-DCC/encoded/subscription","commits_url":"https://api.github.com/repos/ENCODE-DCC/encoded/commits{/sha}","git_commits_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/commits{/sha}","comments_url":"https://api.github.com/repos/ENCODE-DCC/encoded/comments{/number}","issue_comment_url":"https://api.github.com/repos/ENCODE-DCC/encoded/issues/comments{/number}","contents_url":"https://api.github.com/repos/ENCODE-DCC/encoded/contents/{+path}","compare_url":"https://api.github.com/repos/ENCODE-DCC/encoded/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ENCODE-DCC/encoded/merges","archive_url":"https://api.github.com/repos/ENCODE-DCC/encoded/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ENCODE-DCC/encoded/downloads","issues_url":"https://api.github.com/repos/ENCODE-DCC/encoded/issues{/number}","pulls_url":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls{/number}","milestones_url":"https://api.github.com/repos/ENCODE-DCC/encoded/milestones{/number}","notifications_url":"https://api.github.com/repos/ENCODE-DCC/encoded/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ENCODE-DCC/encoded/labels{/name}","releases_url":"https://api.github.com/repos/ENCODE-DCC/encoded/releases{/id}","deployments_url":"https://api.github.com/repos/ENCODE-DCC/encoded/deployments","created_at":"2012-12-07T00:52:21Z","updated_at":"2019-11-07T22:11:15Z","pushed_at":"2019-11-08T18:43:26Z","git_url":"git://github.com/ENCODE-DCC/encoded.git","ssh_url":"git@github.com:ENCODE-DCC/encoded.git","clone_url":"https://github.com/ENCODE-DCC/encoded.git","svn_url":"https://github.com/ENCODE-DCC/encoded","homepage":"https://www.encodeproject.org","size":181539,"stargazers_count":71,"watchers_count":71,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":40,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":37,"open_issues":40,"watchers":71,"default_branch":"dev"}},"base":{"label":"ENCODE-DCC:dev","ref":"dev","sha":"62154071a5353981eeecbf88a13add09bcc09d5c","user":{"login":"ENCODE-DCC","id":1713898,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTM4OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/1713898?v=4","gravatar_id":"","url":"https://api.github.com/users/ENCODE-DCC","html_url":"https://github.com/ENCODE-DCC","followers_url":"https://api.github.com/users/ENCODE-DCC/followers","following_url":"https://api.github.com/users/ENCODE-DCC/following{/other_user}","gists_url":"https://api.github.com/users/ENCODE-DCC/gists{/gist_id}","starred_url":"https://api.github.com/users/ENCODE-DCC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ENCODE-DCC/subscriptions","organizations_url":"https://api.github.com/users/ENCODE-DCC/orgs","repos_url":"https://api.github.com/users/ENCODE-DCC/repos","events_url":"https://api.github.com/users/ENCODE-DCC/events{/privacy}","received_events_url":"https://api.github.com/users/ENCODE-DCC/received_events","type":"Organization","site_admin":false},"repo":{"id":7045549,"node_id":"MDEwOlJlcG9zaXRvcnk3MDQ1NTQ5","name":"encoded","full_name":"ENCODE-DCC/encoded","private":false,"owner":{"login":"ENCODE-DCC","id":1713898,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTM4OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/1713898?v=4","gravatar_id":"","url":"https://api.github.com/users/ENCODE-DCC","html_url":"https://github.com/ENCODE-DCC","followers_url":"https://api.github.com/users/ENCODE-DCC/followers","following_url":"https://api.github.com/users/ENCODE-DCC/following{/other_user}","gists_url":"https://api.github.com/users/ENCODE-DCC/gists{/gist_id}","starred_url":"https://api.github.com/users/ENCODE-DCC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ENCODE-DCC/subscriptions","organizations_url":"https://api.github.com/users/ENCODE-DCC/orgs","repos_url":"https://api.github.com/users/ENCODE-DCC/repos","events_url":"https://api.github.com/users/ENCODE-DCC/events{/privacy}","received_events_url":"https://api.github.com/users/ENCODE-DCC/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ENCODE-DCC/encoded","description":"Metadata database for ENCODE project","fork":false,"url":"https://api.github.com/repos/ENCODE-DCC/encoded","forks_url":"https://api.github.com/repos/ENCODE-DCC/encoded/forks","keys_url":"https://api.github.com/repos/ENCODE-DCC/encoded/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ENCODE-DCC/encoded/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ENCODE-DCC/encoded/teams","hooks_url":"https://api.github.com/repos/ENCODE-DCC/encoded/hooks","issue_events_url":"https://api.github.com/repos/ENCODE-DCC/encoded/issues/events{/number}","events_url":"https://api.github.com/repos/ENCODE-DCC/encoded/events","assignees_url":"https://api.github.com/repos/ENCODE-DCC/encoded/assignees{/user}","branches_url":"https://api.github.com/repos/ENCODE-DCC/encoded/branches{/branch}","tags_url":"https://api.github.com/repos/ENCODE-DCC/encoded/tags","blobs_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/refs{/sha}","trees_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ENCODE-DCC/encoded/statuses/{sha}","languages_url":"https://api.github.com/repos/ENCODE-DCC/encoded/languages","stargazers_url":"https://api.github.com/repos/ENCODE-DCC/encoded/stargazers","contributors_url":"https://api.github.com/repos/ENCODE-DCC/encoded/contributors","subscribers_url":"https://api.github.com/repos/ENCODE-DCC/encoded/subscribers","subscription_url":"https://api.github.com/repos/ENCODE-DCC/encoded/subscription","commits_url":"https://api.github.com/repos/ENCODE-DCC/encoded/commits{/sha}","git_commits_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/commits{/sha}","comments_url":"https://api.github.com/repos/ENCODE-DCC/encoded/comments{/number}","issue_comment_url":"https://api.github.com/repos/ENCODE-DCC/encoded/issues/comments{/number}","contents_url":"https://api.github.com/repos/ENCODE-DCC/encoded/contents/{+path}","compare_url":"https://api.github.com/repos/ENCODE-DCC/encoded/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ENCODE-DCC/encoded/merges","archive_url":"https://api.github.com/repos/ENCODE-DCC/encoded/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ENCODE-DCC/encoded/downloads","issues_url":"https://api.github.com/repos/ENCODE-DCC/encoded/issues{/number}","pulls_url":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls{/number}","milestones_url":"https://api.github.com/repos/ENCODE-DCC/encoded/milestones{/number}","notifications_url":"https://api.github.com/repos/ENCODE-DCC/encoded/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ENCODE-DCC/encoded/labels{/name}","releases_url":"https://api.github.com/repos/ENCODE-DCC/encoded/releases{/id}","deployments_url":"https://api.github.com/repos/ENCODE-DCC/encoded/deployments","created_at":"2012-12-07T00:52:21Z","updated_at":"2019-11-07T22:11:15Z","pushed_at":"2019-11-08T18:43:26Z","git_url":"git://github.com/ENCODE-DCC/encoded.git","ssh_url":"git@github.com:ENCODE-DCC/encoded.git","clone_url":"https://github.com/ENCODE-DCC/encoded.git","svn_url":"https://github.com/ENCODE-DCC/encoded","homepage":"https://www.encodeproject.org","size":181539,"stargazers_count":71,"watchers_count":71,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":40,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":37,"open_issues":40,"watchers":71,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/3026"},"html":{"href":"https://github.com/ENCODE-DCC/encoded/pull/3026"},"issue":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/issues/3026"},"comments":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/issues/3026/comments"},"review_comments":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/3026/comments"},"review_comment":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/3026/commits"},"statuses":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/statuses/7bb6597e64a7bf030e2977761d77155ff210f71b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jenjou"}}