{"action":"created","issue":{"url":"https://api.github.com/repos/darcymason/pydicom/issues/198","labels_url":"https://api.github.com/repos/darcymason/pydicom/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/darcymason/pydicom/issues/198/comments","events_url":"https://api.github.com/repos/darcymason/pydicom/issues/198/events","html_url":"https://github.com/darcymason/pydicom/pull/198","id":60454305,"number":198,"title":"add callback fxn to translate value-vr mismatches","user":{"login":"kevlarkevin","id":1811977,"avatar_url":"https://avatars.githubusercontent.com/u/1811977?v=3","gravatar_id":"","url":"https://api.github.com/users/kevlarkevin","html_url":"https://github.com/kevlarkevin","followers_url":"https://api.github.com/users/kevlarkevin/followers","following_url":"https://api.github.com/users/kevlarkevin/following{/other_user}","gists_url":"https://api.github.com/users/kevlarkevin/gists{/gist_id}","starred_url":"https://api.github.com/users/kevlarkevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevlarkevin/subscriptions","organizations_url":"https://api.github.com/users/kevlarkevin/orgs","repos_url":"https://api.github.com/users/kevlarkevin/repos","events_url":"https://api.github.com/users/kevlarkevin/events{/privacy}","received_events_url":"https://api.github.com/users/kevlarkevin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-10T05:45:21Z","updated_at":"2015-03-11T00:42:07Z","closed_at":"2015-03-11T00:41:36Z","pull_request":{"url":"https://api.github.com/repos/darcymason/pydicom/pulls/198","html_url":"https://github.com/darcymason/pydicom/pull/198","diff_url":"https://github.com/darcymason/pydicom/pull/198.diff","patch_url":"https://github.com/darcymason/pydicom/pull/198.patch"},"body":"Adds a callback function that checks if a raw data element is translatable with its VR. If it is not, translation is re-attempted with a configurable set of other VRs.  If a useable translator is found, then the raw data element is 'fixed' with the useable VR. \r\n\r\nI also changed `dataelem.DataElement_from_raw` to check the VR after the callback function.  This allows a change to data element's VR to get used for the actual translation.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/darcymason/pydicom/issues/comments/78179370","html_url":"https://github.com/darcymason/pydicom/pull/198#issuecomment-78179370","issue_url":"https://api.github.com/repos/darcymason/pydicom/issues/198","id":78179370,"user":{"login":"darcymason","id":61110,"avatar_url":"https://avatars.githubusercontent.com/u/61110?v=3","gravatar_id":"","url":"https://api.github.com/users/darcymason","html_url":"https://github.com/darcymason","followers_url":"https://api.github.com/users/darcymason/followers","following_url":"https://api.github.com/users/darcymason/following{/other_user}","gists_url":"https://api.github.com/users/darcymason/gists{/gist_id}","starred_url":"https://api.github.com/users/darcymason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darcymason/subscriptions","organizations_url":"https://api.github.com/users/darcymason/orgs","repos_url":"https://api.github.com/users/darcymason/repos","events_url":"https://api.github.com/users/darcymason/events{/privacy}","received_events_url":"https://api.github.com/users/darcymason/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T00:42:07Z","updated_at":"2015-03-11T00:42:07Z","body":"Looks great ... pulled it in."}}