{"action":"created","comment":{"url":"https://api.github.com/repos/sam3ay/URV-Project/pulls/comments/181523619","pull_request_review_id":112176102,"id":181523619,"diff_hunk":"@@ -0,0 +1,31 @@\n+from dict_extract import *\n+from dictquery import *\n+from xmldictconv import *\n+import os\n+\n+\n+def build_metadata(identifier, path, list_of_paths, input_dict={}):\n+    \"\"\"Generates metadata from xml file\n+\n+    Args:\n+        identifier: string, Name of the dictionary information will be extracted from\n+        path: string, location of xml file\n+        input_dict: optional variable, dictionary, contains metadata information\n+    Returns:\n+        list of strings, metadata information\n+    Notes:\n+        'DESIGN/SAMPLE_DESCRIPTOR/PRIMARY_ID',\n+        'DESIGN/LIBRARY_DESCRIPTOR/LIBRARY_NAME,\n+        'PLATFORM/ILLUMINA/INSTRUMENTAL_MODEL', ILLUMINA, SC\n+    \"\"\"\n+    # retrieve parent directory from path and specify experiment xml file\n+    exper_dict = input_dict","path":"scripts/build_meta.py","position":22,"original_position":22,"commit_id":"ba9f8a059c728c89c40c0cf3faee4623cb1a5ec6","original_commit_id":"ba9f8a059c728c89c40c0cf3faee4623cb1a5ec6","user":{"login":"sam3ay","id":30203976,"avatar_url":"https://avatars1.githubusercontent.com/u/30203976?v=4","gravatar_id":"","url":"https://api.github.com/users/sam3ay","html_url":"https://github.com/sam3ay","followers_url":"https://api.github.com/users/sam3ay/followers","following_url":"https://api.github.com/users/sam3ay/following{/other_user}","gists_url":"https://api.github.com/users/sam3ay/gists{/gist_id}","starred_url":"https://api.github.com/users/sam3ay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam3ay/subscriptions","organizations_url":"https://api.github.com/users/sam3ay/orgs","repos_url":"https://api.github.com/users/sam3ay/repos","events_url":"https://api.github.com/users/sam3ay/events{/privacy}","received_events_url":"https://api.github.com/users/sam3ay/received_events","type":"User","site_admin":false},"body":"Ahh, true.  I do seem to remember that we're not supposed to alter function inputs directly, so maybe I'm remembering incorrectly or I have to make a deep copy.","created_at":"2018-04-13T22:30:33Z","updated_at":"2018-04-13T22:30:33Z","html_url":"https://github.com/sam3ay/URV-Project/pull/4#discussion_r181523619","pull_request_url":"https://api.github.com/repos/sam3ay/URV-Project/pulls/4","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/sam3ay/URV-Project/pulls/comments/181523619"},"html":{"href":"https://github.com/sam3ay/URV-Project/pull/4#discussion_r181523619"},"pull_request":{"href":"https://api.github.com/repos/sam3ay/URV-Project/pulls/4"}},"in_reply_to_id":180962696},"pull_request":{"url":"https://api.github.com/repos/sam3ay/URV-Project/pulls/4","id":178944425,"html_url":"https://github.com/sam3ay/URV-Project/pull/4","diff_url":"https://github.com/sam3ay/URV-Project/pull/4.diff","patch_url":"https://github.com/sam3ay/URV-Project/pull/4.patch","issue_url":"https://api.github.com/repos/sam3ay/URV-Project/issues/4","number":4,"state":"open","locked":false,"title":"code review","user":{"login":"sam3ay","id":30203976,"avatar_url":"https://avatars1.githubusercontent.com/u/30203976?v=4","gravatar_id":"","url":"https://api.github.com/users/sam3ay","html_url":"https://github.com/sam3ay","followers_url":"https://api.github.com/users/sam3ay/followers","following_url":"https://api.github.com/users/sam3ay/following{/other_user}","gists_url":"https://api.github.com/users/sam3ay/gists{/gist_id}","starred_url":"https://api.github.com/users/sam3ay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam3ay/subscriptions","organizations_url":"https://api.github.com/users/sam3ay/orgs","repos_url":"https://api.github.com/users/sam3ay/repos","events_url":"https://api.github.com/users/sam3ay/events{/privacy}","received_events_url":"https://api.github.com/users/sam3ay/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-02T22:01:36Z","updated_at":"2018-04-13T22:30:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9a3fcd13e00c1dd8ecfed5c11f0aaa21fa488e7c","assignee":{"login":"Damien-Black","id":6080694,"avatar_url":"https://avatars2.githubusercontent.com/u/6080694?v=4","gravatar_id":"","url":"https://api.github.com/users/Damien-Black","html_url":"https://github.com/Damien-Black","followers_url":"https://api.github.com/users/Damien-Black/followers","following_url":"https://api.github.com/users/Damien-Black/following{/other_user}","gists_url":"https://api.github.com/users/Damien-Black/gists{/gist_id}","starred_url":"https://api.github.com/users/Damien-Black/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Damien-Black/subscriptions","organizations_url":"https://api.github.com/users/Damien-Black/orgs","repos_url":"https://api.github.com/users/Damien-Black/repos","events_url":"https://api.github.com/users/Damien-Black/events{/privacy}","received_events_url":"https://api.github.com/users/Damien-Black/received_events","type":"User","site_admin":false},"assignees":[{"login":"Damien-Black","id":6080694,"avatar_url":"https://avatars2.githubusercontent.com/u/6080694?v=4","gravatar_id":"","url":"https://api.github.com/users/Damien-Black","html_url":"https://github.com/Damien-Black","followers_url":"https://api.github.com/users/Damien-Black/followers","following_url":"https://api.github.com/users/Damien-Black/following{/other_user}","gists_url":"https://api.github.com/users/Damien-Black/gists{/gist_id}","starred_url":"https://api.github.com/users/Damien-Black/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Damien-Black/subscriptions","organizations_url":"https://api.github.com/users/Damien-Black/orgs","repos_url":"https://api.github.com/users/Damien-Black/repos","events_url":"https://api.github.com/users/Damien-Black/events{/privacy}","received_events_url":"https://api.github.com/users/Damien-Black/received_events","type":"User","site_admin":false},{"login":"sam3ay","id":30203976,"avatar_url":"https://avatars1.githubusercontent.com/u/30203976?v=4","gravatar_id":"","url":"https://api.github.com/users/sam3ay","html_url":"https://github.com/sam3ay","followers_url":"https://api.github.com/users/sam3ay/followers","following_url":"https://api.github.com/users/sam3ay/following{/other_user}","gists_url":"https://api.github.com/users/sam3ay/gists{/gist_id}","starred_url":"https://api.github.com/users/sam3ay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam3ay/subscriptions","organizations_url":"https://api.github.com/users/sam3ay/orgs","repos_url":"https://api.github.com/users/sam3ay/repos","events_url":"https://api.github.com/users/sam3ay/events{/privacy}","received_events_url":"https://api.github.com/users/sam3ay/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":868909196,"url":"https://api.github.com/repos/sam3ay/URV-Project/labels/help%20wanted","name":"help wanted","color":"008672","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/sam3ay/URV-Project/pulls/4/commits","review_comments_url":"https://api.github.com/repos/sam3ay/URV-Project/pulls/4/comments","review_comment_url":"https://api.github.com/repos/sam3ay/URV-Project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sam3ay/URV-Project/issues/4/comments","statuses_url":"https://api.github.com/repos/sam3ay/URV-Project/statuses/ba9f8a059c728c89c40c0cf3faee4623cb1a5ec6","head":{"label":"sam3ay:master","ref":"master","sha":"ba9f8a059c728c89c40c0cf3faee4623cb1a5ec6","user":{"login":"sam3ay","id":30203976,"avatar_url":"https://avatars1.githubusercontent.com/u/30203976?v=4","gravatar_id":"","url":"https://api.github.com/users/sam3ay","html_url":"https://github.com/sam3ay","followers_url":"https://api.github.com/users/sam3ay/followers","following_url":"https://api.github.com/users/sam3ay/following{/other_user}","gists_url":"https://api.github.com/users/sam3ay/gists{/gist_id}","starred_url":"https://api.github.com/users/sam3ay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam3ay/subscriptions","organizations_url":"https://api.github.com/users/sam3ay/orgs","repos_url":"https://api.github.com/users/sam3ay/repos","events_url":"https://api.github.com/users/sam3ay/events{/privacy}","received_events_url":"https://api.github.com/users/sam3ay/received_events","type":"User","site_admin":false},"repo":{"id":125449754,"name":"URV-Project","full_name":"sam3ay/URV-Project","owner":{"login":"sam3ay","id":30203976,"avatar_url":"https://avatars1.githubusercontent.com/u/30203976?v=4","gravatar_id":"","url":"https://api.github.com/users/sam3ay","html_url":"https://github.com/sam3ay","followers_url":"https://api.github.com/users/sam3ay/followers","following_url":"https://api.github.com/users/sam3ay/following{/other_user}","gists_url":"https://api.github.com/users/sam3ay/gists{/gist_id}","starred_url":"https://api.github.com/users/sam3ay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam3ay/subscriptions","organizations_url":"https://api.github.com/users/sam3ay/orgs","repos_url":"https://api.github.com/users/sam3ay/repos","events_url":"https://api.github.com/users/sam3ay/events{/privacy}","received_events_url":"https://api.github.com/users/sam3ay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sam3ay/URV-Project","description":"Workflows used for Variant Discovery and Analysis","fork":false,"url":"https://api.github.com/repos/sam3ay/URV-Project","forks_url":"https://api.github.com/repos/sam3ay/URV-Project/forks","keys_url":"https://api.github.com/repos/sam3ay/URV-Project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sam3ay/URV-Project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sam3ay/URV-Project/teams","hooks_url":"https://api.github.com/repos/sam3ay/URV-Project/hooks","issue_events_url":"https://api.github.com/repos/sam3ay/URV-Project/issues/events{/number}","events_url":"https://api.github.com/repos/sam3ay/URV-Project/events","assignees_url":"https://api.github.com/repos/sam3ay/URV-Project/assignees{/user}","branches_url":"https://api.github.com/repos/sam3ay/URV-Project/branches{/branch}","tags_url":"https://api.github.com/repos/sam3ay/URV-Project/tags","blobs_url":"https://api.github.com/repos/sam3ay/URV-Project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sam3ay/URV-Project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sam3ay/URV-Project/git/refs{/sha}","trees_url":"https://api.github.com/repos/sam3ay/URV-Project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sam3ay/URV-Project/statuses/{sha}","languages_url":"https://api.github.com/repos/sam3ay/URV-Project/languages","stargazers_url":"https://api.github.com/repos/sam3ay/URV-Project/stargazers","contributors_url":"https://api.github.com/repos/sam3ay/URV-Project/contributors","subscribers_url":"https://api.github.com/repos/sam3ay/URV-Project/subscribers","subscription_url":"https://api.github.com/repos/sam3ay/URV-Project/subscription","commits_url":"https://api.github.com/repos/sam3ay/URV-Project/commits{/sha}","git_commits_url":"https://api.github.com/repos/sam3ay/URV-Project/git/commits{/sha}","comments_url":"https://api.github.com/repos/sam3ay/URV-Project/comments{/number}","issue_comment_url":"https://api.github.com/repos/sam3ay/URV-Project/issues/comments{/number}","contents_url":"https://api.github.com/repos/sam3ay/URV-Project/contents/{+path}","compare_url":"https://api.github.com/repos/sam3ay/URV-Project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sam3ay/URV-Project/merges","archive_url":"https://api.github.com/repos/sam3ay/URV-Project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sam3ay/URV-Project/downloads","issues_url":"https://api.github.com/repos/sam3ay/URV-Project/issues{/number}","pulls_url":"https://api.github.com/repos/sam3ay/URV-Project/pulls{/number}","milestones_url":"https://api.github.com/repos/sam3ay/URV-Project/milestones{/number}","notifications_url":"https://api.github.com/repos/sam3ay/URV-Project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sam3ay/URV-Project/labels{/name}","releases_url":"https://api.github.com/repos/sam3ay/URV-Project/releases{/id}","deployments_url":"https://api.github.com/repos/sam3ay/URV-Project/deployments","created_at":"2018-03-16T01:58:24Z","updated_at":"2018-04-02T22:11:36Z","pushed_at":"2018-04-11T02:36:12Z","git_url":"git://github.com/sam3ay/URV-Project.git","ssh_url":"git@github.com:sam3ay/URV-Project.git","clone_url":"https://github.com/sam3ay/URV-Project.git","svn_url":"https://github.com/sam3ay/URV-Project","homepage":null,"size":17,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sam3ay:refactor","ref":"refactor","sha":"afb25d1282d7f3c55e7899539b3ed29f6ddf71ab","user":{"login":"sam3ay","id":30203976,"avatar_url":"https://avatars1.githubusercontent.com/u/30203976?v=4","gravatar_id":"","url":"https://api.github.com/users/sam3ay","html_url":"https://github.com/sam3ay","followers_url":"https://api.github.com/users/sam3ay/followers","following_url":"https://api.github.com/users/sam3ay/following{/other_user}","gists_url":"https://api.github.com/users/sam3ay/gists{/gist_id}","starred_url":"https://api.github.com/users/sam3ay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam3ay/subscriptions","organizations_url":"https://api.github.com/users/sam3ay/orgs","repos_url":"https://api.github.com/users/sam3ay/repos","events_url":"https://api.github.com/users/sam3ay/events{/privacy}","received_events_url":"https://api.github.com/users/sam3ay/received_events","type":"User","site_admin":false},"repo":{"id":125449754,"name":"URV-Project","full_name":"sam3ay/URV-Project","owner":{"login":"sam3ay","id":30203976,"avatar_url":"https://avatars1.githubusercontent.com/u/30203976?v=4","gravatar_id":"","url":"https://api.github.com/users/sam3ay","html_url":"https://github.com/sam3ay","followers_url":"https://api.github.com/users/sam3ay/followers","following_url":"https://api.github.com/users/sam3ay/following{/other_user}","gists_url":"https://api.github.com/users/sam3ay/gists{/gist_id}","starred_url":"https://api.github.com/users/sam3ay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam3ay/subscriptions","organizations_url":"https://api.github.com/users/sam3ay/orgs","repos_url":"https://api.github.com/users/sam3ay/repos","events_url":"https://api.github.com/users/sam3ay/events{/privacy}","received_events_url":"https://api.github.com/users/sam3ay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sam3ay/URV-Project","description":"Workflows used for Variant Discovery and Analysis","fork":false,"url":"https://api.github.com/repos/sam3ay/URV-Project","forks_url":"https://api.github.com/repos/sam3ay/URV-Project/forks","keys_url":"https://api.github.com/repos/sam3ay/URV-Project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sam3ay/URV-Project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sam3ay/URV-Project/teams","hooks_url":"https://api.github.com/repos/sam3ay/URV-Project/hooks","issue_events_url":"https://api.github.com/repos/sam3ay/URV-Project/issues/events{/number}","events_url":"https://api.github.com/repos/sam3ay/URV-Project/events","assignees_url":"https://api.github.com/repos/sam3ay/URV-Project/assignees{/user}","branches_url":"https://api.github.com/repos/sam3ay/URV-Project/branches{/branch}","tags_url":"https://api.github.com/repos/sam3ay/URV-Project/tags","blobs_url":"https://api.github.com/repos/sam3ay/URV-Project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sam3ay/URV-Project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sam3ay/URV-Project/git/refs{/sha}","trees_url":"https://api.github.com/repos/sam3ay/URV-Project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sam3ay/URV-Project/statuses/{sha}","languages_url":"https://api.github.com/repos/sam3ay/URV-Project/languages","stargazers_url":"https://api.github.com/repos/sam3ay/URV-Project/stargazers","contributors_url":"https://api.github.com/repos/sam3ay/URV-Project/contributors","subscribers_url":"https://api.github.com/repos/sam3ay/URV-Project/subscribers","subscription_url":"https://api.github.com/repos/sam3ay/URV-Project/subscription","commits_url":"https://api.github.com/repos/sam3ay/URV-Project/commits{/sha}","git_commits_url":"https://api.github.com/repos/sam3ay/URV-Project/git/commits{/sha}","comments_url":"https://api.github.com/repos/sam3ay/URV-Project/comments{/number}","issue_comment_url":"https://api.github.com/repos/sam3ay/URV-Project/issues/comments{/number}","contents_url":"https://api.github.com/repos/sam3ay/URV-Project/contents/{+path}","compare_url":"https://api.github.com/repos/sam3ay/URV-Project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sam3ay/URV-Project/merges","archive_url":"https://api.github.com/repos/sam3ay/URV-Project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sam3ay/URV-Project/downloads","issues_url":"https://api.github.com/repos/sam3ay/URV-Project/issues{/number}","pulls_url":"https://api.github.com/repos/sam3ay/URV-Project/pulls{/number}","milestones_url":"https://api.github.com/repos/sam3ay/URV-Project/milestones{/number}","notifications_url":"https://api.github.com/repos/sam3ay/URV-Project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sam3ay/URV-Project/labels{/name}","releases_url":"https://api.github.com/repos/sam3ay/URV-Project/releases{/id}","deployments_url":"https://api.github.com/repos/sam3ay/URV-Project/deployments","created_at":"2018-03-16T01:58:24Z","updated_at":"2018-04-02T22:11:36Z","pushed_at":"2018-04-11T02:36:12Z","git_url":"git://github.com/sam3ay/URV-Project.git","ssh_url":"git@github.com:sam3ay/URV-Project.git","clone_url":"https://github.com/sam3ay/URV-Project.git","svn_url":"https://github.com/sam3ay/URV-Project","homepage":null,"size":17,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sam3ay/URV-Project/pulls/4"},"html":{"href":"https://github.com/sam3ay/URV-Project/pull/4"},"issue":{"href":"https://api.github.com/repos/sam3ay/URV-Project/issues/4"},"comments":{"href":"https://api.github.com/repos/sam3ay/URV-Project/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/sam3ay/URV-Project/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/sam3ay/URV-Project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sam3ay/URV-Project/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/sam3ay/URV-Project/statuses/ba9f8a059c728c89c40c0cf3faee4623cb1a5ec6"}},"author_association":"OWNER"}}
{"actor":{"display_login":"sam3ay"}}