{"action":"opened","number":609,"pull_request":{"url":"https://api.github.com/repos/pydicom/pydicom/pulls/609","id":177246032,"html_url":"https://github.com/pydicom/pydicom/pull/609","diff_url":"https://github.com/pydicom/pydicom/pull/609.diff","patch_url":"https://github.com/pydicom/pydicom/pull/609.patch","issue_url":"https://api.github.com/repos/pydicom/pydicom/issues/609","number":609,"state":"open","locked":false,"title":"Minor consolidation of previous change","user":{"login":"mrbean-bremen","id":4623701,"avatar_url":"https://avatars1.githubusercontent.com/u/4623701?v=4","gravatar_id":"","url":"https://api.github.com/users/mrbean-bremen","html_url":"https://github.com/mrbean-bremen","followers_url":"https://api.github.com/users/mrbean-bremen/followers","following_url":"https://api.github.com/users/mrbean-bremen/following{/other_user}","gists_url":"https://api.github.com/users/mrbean-bremen/gists{/gist_id}","starred_url":"https://api.github.com/users/mrbean-bremen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrbean-bremen/subscriptions","organizations_url":"https://api.github.com/users/mrbean-bremen/orgs","repos_url":"https://api.github.com/users/mrbean-bremen/repos","events_url":"https://api.github.com/users/mrbean-bremen/events{/privacy}","received_events_url":"https://api.github.com/users/mrbean-bremen/received_events","type":"User","site_admin":false},"body":"- slightly improved write code\r\n- use BaseTag instead of string in often called method\r\n\r\n<!--\r\nThanks for contributing a pull request! Please ensure you have taken a look at\r\nthe contribution guidelines: https://github.com/pydicom/pydicom/blob/master/CONTRIBUTING.md#contributing-pull-requests\r\n-->\r\n#### Reference Issue\r\n<!-- Example: Fixes #1234 -->\r\n\r\n\r\n#### What does this implement/fix? Explain your changes.\r\nThis gains another few percent (3-7% in my tests) in writing performance.\r\n<!--\r\nPlease summarize the key points of the reference issue, problem or contribution\r\nto facilitate reviewing task. Of course reviewers can always refer to the\r\noriginal issue but facilitating the reviewing process is much appreciated.\r\n-->\r\n\r\n#### Any other comments?\r\n<!--\r\n-->\r\n\r\n<!--\r\nPlease be aware that we are a loose team of volunteers so patience is\r\nnecessary; assistance handling other issues is very welcome. We value\r\nall user contributions, no matter how minor they are. If we are slow to\r\nreview, either the pull request needs some benchmarking, tinkering,\r\nconvincing, etc. or more likely the reviewers are simply busy. In either\r\ncase, we ask for your understanding during the review process.\r\n\r\nThanks for contributing!\r\n-->\r\n","created_at":"2018-03-24T16:37:57Z","updated_at":"2018-03-24T16:37:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pydicom/pydicom/pulls/609/commits","review_comments_url":"https://api.github.com/repos/pydicom/pydicom/pulls/609/comments","review_comment_url":"https://api.github.com/repos/pydicom/pydicom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pydicom/pydicom/issues/609/comments","statuses_url":"https://api.github.com/repos/pydicom/pydicom/statuses/a10cefb95eaedeab8763fc07d9af523dc0f0340f","head":{"label":"mrbean-bremen:consol","ref":"consol","sha":"a10cefb95eaedeab8763fc07d9af523dc0f0340f","user":{"login":"mrbean-bremen","id":4623701,"avatar_url":"https://avatars1.githubusercontent.com/u/4623701?v=4","gravatar_id":"","url":"https://api.github.com/users/mrbean-bremen","html_url":"https://github.com/mrbean-bremen","followers_url":"https://api.github.com/users/mrbean-bremen/followers","following_url":"https://api.github.com/users/mrbean-bremen/following{/other_user}","gists_url":"https://api.github.com/users/mrbean-bremen/gists{/gist_id}","starred_url":"https://api.github.com/users/mrbean-bremen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrbean-bremen/subscriptions","organizations_url":"https://api.github.com/users/mrbean-bremen/orgs","repos_url":"https://api.github.com/users/mrbean-bremen/repos","events_url":"https://api.github.com/users/mrbean-bremen/events{/privacy}","received_events_url":"https://api.github.com/users/mrbean-bremen/received_events","type":"User","site_admin":false},"repo":{"id":65673081,"name":"pydicom","full_name":"mrbean-bremen/pydicom","owner":{"login":"mrbean-bremen","id":4623701,"avatar_url":"https://avatars1.githubusercontent.com/u/4623701?v=4","gravatar_id":"","url":"https://api.github.com/users/mrbean-bremen","html_url":"https://github.com/mrbean-bremen","followers_url":"https://api.github.com/users/mrbean-bremen/followers","following_url":"https://api.github.com/users/mrbean-bremen/following{/other_user}","gists_url":"https://api.github.com/users/mrbean-bremen/gists{/gist_id}","starred_url":"https://api.github.com/users/mrbean-bremen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrbean-bremen/subscriptions","organizations_url":"https://api.github.com/users/mrbean-bremen/orgs","repos_url":"https://api.github.com/users/mrbean-bremen/repos","events_url":"https://api.github.com/users/mrbean-bremen/events{/privacy}","received_events_url":"https://api.github.com/users/mrbean-bremen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrbean-bremen/pydicom","description":"Read, modify and write DICOM files with python code","fork":true,"url":"https://api.github.com/repos/mrbean-bremen/pydicom","forks_url":"https://api.github.com/repos/mrbean-bremen/pydicom/forks","keys_url":"https://api.github.com/repos/mrbean-bremen/pydicom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrbean-bremen/pydicom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrbean-bremen/pydicom/teams","hooks_url":"https://api.github.com/repos/mrbean-bremen/pydicom/hooks","issue_events_url":"https://api.github.com/repos/mrbean-bremen/pydicom/issues/events{/number}","events_url":"https://api.github.com/repos/mrbean-bremen/pydicom/events","assignees_url":"https://api.github.com/repos/mrbean-bremen/pydicom/assignees{/user}","branches_url":"https://api.github.com/repos/mrbean-bremen/pydicom/branches{/branch}","tags_url":"https://api.github.com/repos/mrbean-bremen/pydicom/tags","blobs_url":"https://api.github.com/repos/mrbean-bremen/pydicom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrbean-bremen/pydicom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrbean-bremen/pydicom/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrbean-bremen/pydicom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrbean-bremen/pydicom/statuses/{sha}","languages_url":"https://api.github.com/repos/mrbean-bremen/pydicom/languages","stargazers_url":"https://api.github.com/repos/mrbean-bremen/pydicom/stargazers","contributors_url":"https://api.github.com/repos/mrbean-bremen/pydicom/contributors","subscribers_url":"https://api.github.com/repos/mrbean-bremen/pydicom/subscribers","subscription_url":"https://api.github.com/repos/mrbean-bremen/pydicom/subscription","commits_url":"https://api.github.com/repos/mrbean-bremen/pydicom/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrbean-bremen/pydicom/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrbean-bremen/pydicom/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrbean-bremen/pydicom/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrbean-bremen/pydicom/contents/{+path}","compare_url":"https://api.github.com/repos/mrbean-bremen/pydicom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrbean-bremen/pydicom/merges","archive_url":"https://api.github.com/repos/mrbean-bremen/pydicom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrbean-bremen/pydicom/downloads","issues_url":"https://api.github.com/repos/mrbean-bremen/pydicom/issues{/number}","pulls_url":"https://api.github.com/repos/mrbean-bremen/pydicom/pulls{/number}","milestones_url":"https://api.github.com/repos/mrbean-bremen/pydicom/milestones{/number}","notifications_url":"https://api.github.com/repos/mrbean-bremen/pydicom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrbean-bremen/pydicom/labels{/name}","releases_url":"https://api.github.com/repos/mrbean-bremen/pydicom/releases{/id}","deployments_url":"https://api.github.com/repos/mrbean-bremen/pydicom/deployments","created_at":"2016-08-14T15:31:07Z","updated_at":"2016-08-14T15:31:08Z","pushed_at":"2018-03-24T16:34:00Z","git_url":"git://github.com/mrbean-bremen/pydicom.git","ssh_url":"git@github.com:mrbean-bremen/pydicom.git","clone_url":"https://github.com/mrbean-bremen/pydicom.git","svn_url":"https://github.com/mrbean-bremen/pydicom","homepage":null,"size":14486,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pydicom:master","ref":"master","sha":"97a671e2702723642c6c8b2abb9312e1a580f8ea","user":{"login":"pydicom","id":28906941,"avatar_url":"https://avatars2.githubusercontent.com/u/28906941?v=4","gravatar_id":"","url":"https://api.github.com/users/pydicom","html_url":"https://github.com/pydicom","followers_url":"https://api.github.com/users/pydicom/followers","following_url":"https://api.github.com/users/pydicom/following{/other_user}","gists_url":"https://api.github.com/users/pydicom/gists{/gist_id}","starred_url":"https://api.github.com/users/pydicom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydicom/subscriptions","organizations_url":"https://api.github.com/users/pydicom/orgs","repos_url":"https://api.github.com/users/pydicom/repos","events_url":"https://api.github.com/users/pydicom/events{/privacy}","received_events_url":"https://api.github.com/users/pydicom/received_events","type":"Organization","site_admin":false},"repo":{"id":14006067,"name":"pydicom","full_name":"pydicom/pydicom","owner":{"login":"pydicom","id":28906941,"avatar_url":"https://avatars2.githubusercontent.com/u/28906941?v=4","gravatar_id":"","url":"https://api.github.com/users/pydicom","html_url":"https://github.com/pydicom","followers_url":"https://api.github.com/users/pydicom/followers","following_url":"https://api.github.com/users/pydicom/following{/other_user}","gists_url":"https://api.github.com/users/pydicom/gists{/gist_id}","starred_url":"https://api.github.com/users/pydicom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydicom/subscriptions","organizations_url":"https://api.github.com/users/pydicom/orgs","repos_url":"https://api.github.com/users/pydicom/repos","events_url":"https://api.github.com/users/pydicom/events{/privacy}","received_events_url":"https://api.github.com/users/pydicom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pydicom/pydicom","description":"Read, modify and write DICOM files with python code","fork":false,"url":"https://api.github.com/repos/pydicom/pydicom","forks_url":"https://api.github.com/repos/pydicom/pydicom/forks","keys_url":"https://api.github.com/repos/pydicom/pydicom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pydicom/pydicom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pydicom/pydicom/teams","hooks_url":"https://api.github.com/repos/pydicom/pydicom/hooks","issue_events_url":"https://api.github.com/repos/pydicom/pydicom/issues/events{/number}","events_url":"https://api.github.com/repos/pydicom/pydicom/events","assignees_url":"https://api.github.com/repos/pydicom/pydicom/assignees{/user}","branches_url":"https://api.github.com/repos/pydicom/pydicom/branches{/branch}","tags_url":"https://api.github.com/repos/pydicom/pydicom/tags","blobs_url":"https://api.github.com/repos/pydicom/pydicom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pydicom/pydicom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pydicom/pydicom/git/refs{/sha}","trees_url":"https://api.github.com/repos/pydicom/pydicom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pydicom/pydicom/statuses/{sha}","languages_url":"https://api.github.com/repos/pydicom/pydicom/languages","stargazers_url":"https://api.github.com/repos/pydicom/pydicom/stargazers","contributors_url":"https://api.github.com/repos/pydicom/pydicom/contributors","subscribers_url":"https://api.github.com/repos/pydicom/pydicom/subscribers","subscription_url":"https://api.github.com/repos/pydicom/pydicom/subscription","commits_url":"https://api.github.com/repos/pydicom/pydicom/commits{/sha}","git_commits_url":"https://api.github.com/repos/pydicom/pydicom/git/commits{/sha}","comments_url":"https://api.github.com/repos/pydicom/pydicom/comments{/number}","issue_comment_url":"https://api.github.com/repos/pydicom/pydicom/issues/comments{/number}","contents_url":"https://api.github.com/repos/pydicom/pydicom/contents/{+path}","compare_url":"https://api.github.com/repos/pydicom/pydicom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pydicom/pydicom/merges","archive_url":"https://api.github.com/repos/pydicom/pydicom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pydicom/pydicom/downloads","issues_url":"https://api.github.com/repos/pydicom/pydicom/issues{/number}","pulls_url":"https://api.github.com/repos/pydicom/pydicom/pulls{/number}","milestones_url":"https://api.github.com/repos/pydicom/pydicom/milestones{/number}","notifications_url":"https://api.github.com/repos/pydicom/pydicom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pydicom/pydicom/labels{/name}","releases_url":"https://api.github.com/repos/pydicom/pydicom/releases{/id}","deployments_url":"https://api.github.com/repos/pydicom/pydicom/deployments","created_at":"2013-10-31T02:58:52Z","updated_at":"2018-03-24T13:27:03Z","pushed_at":"2018-03-24T16:17:16Z","git_url":"git://github.com/pydicom/pydicom.git","ssh_url":"git@github.com:pydicom/pydicom.git","clone_url":"https://github.com/pydicom/pydicom.git","svn_url":"https://github.com/pydicom/pydicom","homepage":null,"size":17740,"stargazers_count":383,"watchers_count":383,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":177,"mirror_url":null,"archived":false,"open_issues_count":49,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":177,"open_issues":49,"watchers":383,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pydicom/pydicom/pulls/609"},"html":{"href":"https://github.com/pydicom/pydicom/pull/609"},"issue":{"href":"https://api.github.com/repos/pydicom/pydicom/issues/609"},"comments":{"href":"https://api.github.com/repos/pydicom/pydicom/issues/609/comments"},"review_comments":{"href":"https://api.github.com/repos/pydicom/pydicom/pulls/609/comments"},"review_comment":{"href":"https://api.github.com/repos/pydicom/pydicom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pydicom/pydicom/pulls/609/commits"},"statuses":{"href":"https://api.github.com/repos/pydicom/pydicom/statuses/a10cefb95eaedeab8763fc07d9af523dc0f0340f"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":6,"deletions":14,"changed_files":2}}
{"actor":{"display_login":"mrbean-bremen"}}