{"action":"opened","number":416,"pull_request":{"url":"https://api.github.com/repos/nipy/nibabel/pulls/416","id":61510120,"html_url":"https://github.com/nipy/nibabel/pull/416","diff_url":"https://github.com/nipy/nibabel/pull/416.diff","patch_url":"https://github.com/nipy/nibabel/pull/416.patch","issue_url":"https://api.github.com/repos/nipy/nibabel/issues/416","number":416,"state":"open","locked":false,"title":"ENH: Add \"element\" containers and make dicom wrappers compatible","user":{"login":"moloney","id":1376566,"avatar_url":"https://avatars.githubusercontent.com/u/1376566?v=3","gravatar_id":"","url":"https://api.github.com/users/moloney","html_url":"https://github.com/moloney","followers_url":"https://api.github.com/users/moloney/followers","following_url":"https://api.github.com/users/moloney/following{/other_user}","gists_url":"https://api.github.com/users/moloney/gists{/gist_id}","starred_url":"https://api.github.com/users/moloney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moloney/subscriptions","organizations_url":"https://api.github.com/users/moloney/orgs","repos_url":"https://api.github.com/users/moloney/repos","events_url":"https://api.github.com/users/moloney/events{/privacy}","received_events_url":"https://api.github.com/users/moloney/received_events","type":"User","site_admin":false},"body":"Add two main types: 'ElemDict' and 'ElemList'. Each can only store\r\nobjects with an attribute 'value'. Standard lookups with\r\n'__getitem__' and 'get' return just this 'value' attribute. To\r\naccess the underlying object, a 'get_elem' method is provided.\r\n\r\nAlso updated the DICOM wrappers to provide a 'get_elem' method that\r\nreturns the full DICOM element rather than just the value. Added a\r\n__iter__ method that returns the available DICOM keys.\r\n","created_at":"2016-03-03T04:45:10Z","updated_at":"2016-03-03T04:45:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nipy/nibabel/pulls/416/commits","review_comments_url":"https://api.github.com/repos/nipy/nibabel/pulls/416/comments","review_comment_url":"https://api.github.com/repos/nipy/nibabel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nipy/nibabel/issues/416/comments","statuses_url":"https://api.github.com/repos/nipy/nibabel/statuses/cc18fb6f972c24c778dd0edc925f4e021cafcca0","head":{"label":"moloney:enh-elem-cont","ref":"enh-elem-cont","sha":"cc18fb6f972c24c778dd0edc925f4e021cafcca0","user":{"login":"moloney","id":1376566,"avatar_url":"https://avatars.githubusercontent.com/u/1376566?v=3","gravatar_id":"","url":"https://api.github.com/users/moloney","html_url":"https://github.com/moloney","followers_url":"https://api.github.com/users/moloney/followers","following_url":"https://api.github.com/users/moloney/following{/other_user}","gists_url":"https://api.github.com/users/moloney/gists{/gist_id}","starred_url":"https://api.github.com/users/moloney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moloney/subscriptions","organizations_url":"https://api.github.com/users/moloney/orgs","repos_url":"https://api.github.com/users/moloney/repos","events_url":"https://api.github.com/users/moloney/events{/privacy}","received_events_url":"https://api.github.com/users/moloney/received_events","type":"User","site_admin":false},"repo":{"id":3348774,"name":"nibabel","full_name":"moloney/nibabel","owner":{"login":"moloney","id":1376566,"avatar_url":"https://avatars.githubusercontent.com/u/1376566?v=3","gravatar_id":"","url":"https://api.github.com/users/moloney","html_url":"https://github.com/moloney","followers_url":"https://api.github.com/users/moloney/followers","following_url":"https://api.github.com/users/moloney/following{/other_user}","gists_url":"https://api.github.com/users/moloney/gists{/gist_id}","starred_url":"https://api.github.com/users/moloney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moloney/subscriptions","organizations_url":"https://api.github.com/users/moloney/orgs","repos_url":"https://api.github.com/users/moloney/repos","events_url":"https://api.github.com/users/moloney/events{/privacy}","received_events_url":"https://api.github.com/users/moloney/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moloney/nibabel","description":"Python package to access a cacophony of neuro-imaging file formats","fork":true,"url":"https://api.github.com/repos/moloney/nibabel","forks_url":"https://api.github.com/repos/moloney/nibabel/forks","keys_url":"https://api.github.com/repos/moloney/nibabel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moloney/nibabel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moloney/nibabel/teams","hooks_url":"https://api.github.com/repos/moloney/nibabel/hooks","issue_events_url":"https://api.github.com/repos/moloney/nibabel/issues/events{/number}","events_url":"https://api.github.com/repos/moloney/nibabel/events","assignees_url":"https://api.github.com/repos/moloney/nibabel/assignees{/user}","branches_url":"https://api.github.com/repos/moloney/nibabel/branches{/branch}","tags_url":"https://api.github.com/repos/moloney/nibabel/tags","blobs_url":"https://api.github.com/repos/moloney/nibabel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moloney/nibabel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moloney/nibabel/git/refs{/sha}","trees_url":"https://api.github.com/repos/moloney/nibabel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moloney/nibabel/statuses/{sha}","languages_url":"https://api.github.com/repos/moloney/nibabel/languages","stargazers_url":"https://api.github.com/repos/moloney/nibabel/stargazers","contributors_url":"https://api.github.com/repos/moloney/nibabel/contributors","subscribers_url":"https://api.github.com/repos/moloney/nibabel/subscribers","subscription_url":"https://api.github.com/repos/moloney/nibabel/subscription","commits_url":"https://api.github.com/repos/moloney/nibabel/commits{/sha}","git_commits_url":"https://api.github.com/repos/moloney/nibabel/git/commits{/sha}","comments_url":"https://api.github.com/repos/moloney/nibabel/comments{/number}","issue_comment_url":"https://api.github.com/repos/moloney/nibabel/issues/comments{/number}","contents_url":"https://api.github.com/repos/moloney/nibabel/contents/{+path}","compare_url":"https://api.github.com/repos/moloney/nibabel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moloney/nibabel/merges","archive_url":"https://api.github.com/repos/moloney/nibabel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moloney/nibabel/downloads","issues_url":"https://api.github.com/repos/moloney/nibabel/issues{/number}","pulls_url":"https://api.github.com/repos/moloney/nibabel/pulls{/number}","milestones_url":"https://api.github.com/repos/moloney/nibabel/milestones{/number}","notifications_url":"https://api.github.com/repos/moloney/nibabel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moloney/nibabel/labels{/name}","releases_url":"https://api.github.com/repos/moloney/nibabel/releases{/id}","deployments_url":"https://api.github.com/repos/moloney/nibabel/deployments","created_at":"2012-02-03T22:07:19Z","updated_at":"2015-04-22T05:48:01Z","pushed_at":"2016-03-03T04:43:00Z","git_url":"git://github.com/moloney/nibabel.git","ssh_url":"git@github.com:moloney/nibabel.git","clone_url":"https://github.com/moloney/nibabel.git","svn_url":"https://github.com/moloney/nibabel","homepage":"http://nipy.org/nibabel/","size":7902,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"nipy:master","ref":"master","sha":"5a42cb36f0593b754149f6345ff20d75b8956205","user":{"login":"nipy","id":233707,"avatar_url":"https://avatars.githubusercontent.com/u/233707?v=3","gravatar_id":"","url":"https://api.github.com/users/nipy","html_url":"https://github.com/nipy","followers_url":"https://api.github.com/users/nipy/followers","following_url":"https://api.github.com/users/nipy/following{/other_user}","gists_url":"https://api.github.com/users/nipy/gists{/gist_id}","starred_url":"https://api.github.com/users/nipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nipy/subscriptions","organizations_url":"https://api.github.com/users/nipy/orgs","repos_url":"https://api.github.com/users/nipy/repos","events_url":"https://api.github.com/users/nipy/events{/privacy}","received_events_url":"https://api.github.com/users/nipy/received_events","type":"Organization","site_admin":false},"repo":{"id":791352,"name":"nibabel","full_name":"nipy/nibabel","owner":{"login":"nipy","id":233707,"avatar_url":"https://avatars.githubusercontent.com/u/233707?v=3","gravatar_id":"","url":"https://api.github.com/users/nipy","html_url":"https://github.com/nipy","followers_url":"https://api.github.com/users/nipy/followers","following_url":"https://api.github.com/users/nipy/following{/other_user}","gists_url":"https://api.github.com/users/nipy/gists{/gist_id}","starred_url":"https://api.github.com/users/nipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nipy/subscriptions","organizations_url":"https://api.github.com/users/nipy/orgs","repos_url":"https://api.github.com/users/nipy/repos","events_url":"https://api.github.com/users/nipy/events{/privacy}","received_events_url":"https://api.github.com/users/nipy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nipy/nibabel","description":"Python package to access a cacophony of neuro-imaging file formats","fork":false,"url":"https://api.github.com/repos/nipy/nibabel","forks_url":"https://api.github.com/repos/nipy/nibabel/forks","keys_url":"https://api.github.com/repos/nipy/nibabel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nipy/nibabel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nipy/nibabel/teams","hooks_url":"https://api.github.com/repos/nipy/nibabel/hooks","issue_events_url":"https://api.github.com/repos/nipy/nibabel/issues/events{/number}","events_url":"https://api.github.com/repos/nipy/nibabel/events","assignees_url":"https://api.github.com/repos/nipy/nibabel/assignees{/user}","branches_url":"https://api.github.com/repos/nipy/nibabel/branches{/branch}","tags_url":"https://api.github.com/repos/nipy/nibabel/tags","blobs_url":"https://api.github.com/repos/nipy/nibabel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nipy/nibabel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nipy/nibabel/git/refs{/sha}","trees_url":"https://api.github.com/repos/nipy/nibabel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nipy/nibabel/statuses/{sha}","languages_url":"https://api.github.com/repos/nipy/nibabel/languages","stargazers_url":"https://api.github.com/repos/nipy/nibabel/stargazers","contributors_url":"https://api.github.com/repos/nipy/nibabel/contributors","subscribers_url":"https://api.github.com/repos/nipy/nibabel/subscribers","subscription_url":"https://api.github.com/repos/nipy/nibabel/subscription","commits_url":"https://api.github.com/repos/nipy/nibabel/commits{/sha}","git_commits_url":"https://api.github.com/repos/nipy/nibabel/git/commits{/sha}","comments_url":"https://api.github.com/repos/nipy/nibabel/comments{/number}","issue_comment_url":"https://api.github.com/repos/nipy/nibabel/issues/comments{/number}","contents_url":"https://api.github.com/repos/nipy/nibabel/contents/{+path}","compare_url":"https://api.github.com/repos/nipy/nibabel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nipy/nibabel/merges","archive_url":"https://api.github.com/repos/nipy/nibabel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nipy/nibabel/downloads","issues_url":"https://api.github.com/repos/nipy/nibabel/issues{/number}","pulls_url":"https://api.github.com/repos/nipy/nibabel/pulls{/number}","milestones_url":"https://api.github.com/repos/nipy/nibabel/milestones{/number}","notifications_url":"https://api.github.com/repos/nipy/nibabel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nipy/nibabel/labels{/name}","releases_url":"https://api.github.com/repos/nipy/nibabel/releases{/id}","deployments_url":"https://api.github.com/repos/nipy/nibabel/deployments","created_at":"2010-07-22T16:28:30Z","updated_at":"2016-02-28T05:44:09Z","pushed_at":"2016-03-03T03:32:06Z","git_url":"git://github.com/nipy/nibabel.git","ssh_url":"git@github.com:nipy/nibabel.git","clone_url":"https://github.com/nipy/nibabel.git","svn_url":"https://github.com/nipy/nibabel","homepage":"http://nipy.org/nibabel/","size":19957,"stargazers_count":101,"watchers_count":101,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":102,"mirror_url":null,"open_issues_count":63,"forks":102,"open_issues":63,"watchers":101,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nipy/nibabel/pulls/416"},"html":{"href":"https://github.com/nipy/nibabel/pull/416"},"issue":{"href":"https://api.github.com/repos/nipy/nibabel/issues/416"},"comments":{"href":"https://api.github.com/repos/nipy/nibabel/issues/416/comments"},"review_comments":{"href":"https://api.github.com/repos/nipy/nibabel/pulls/416/comments"},"review_comment":{"href":"https://api.github.com/repos/nipy/nibabel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nipy/nibabel/pulls/416/commits"},"statuses":{"href":"https://api.github.com/repos/nipy/nibabel/statuses/cc18fb6f972c24c778dd0edc925f4e021cafcca0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":306,"deletions":0,"changed_files":4}}