{"action":"created","issue":{"url":"https://api.github.com/repos/pytrip/pytrip/issues/73","repository_url":"https://api.github.com/repos/pytrip/pytrip","labels_url":"https://api.github.com/repos/pytrip/pytrip/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/pytrip/pytrip/issues/73/comments","events_url":"https://api.github.com/repos/pytrip/pytrip/issues/73/events","html_url":"https://github.com/pytrip/pytrip/issues/73","id":175059237,"number":73,"title":"Problem reading dicom files with python3","user":{"login":"grzanka","id":7374733,"avatar_url":"https://avatars.githubusercontent.com/u/7374733?v=3","gravatar_id":"","url":"https://api.github.com/users/grzanka","html_url":"https://github.com/grzanka","followers_url":"https://api.github.com/users/grzanka/followers","following_url":"https://api.github.com/users/grzanka/following{/other_user}","gists_url":"https://api.github.com/users/grzanka/gists{/gist_id}","starred_url":"https://api.github.com/users/grzanka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzanka/subscriptions","organizations_url":"https://api.github.com/users/grzanka/orgs","repos_url":"https://api.github.com/users/grzanka/repos","events_url":"https://api.github.com/users/grzanka/events{/privacy}","received_events_url":"https://api.github.com/users/grzanka/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pytrip/pytrip/labels/bug","name":"bug","color":"ee0701"}],"state":"closed","locked":false,"assignee":{"login":"grzanka","id":7374733,"avatar_url":"https://avatars.githubusercontent.com/u/7374733?v=3","gravatar_id":"","url":"https://api.github.com/users/grzanka","html_url":"https://github.com/grzanka","followers_url":"https://api.github.com/users/grzanka/followers","following_url":"https://api.github.com/users/grzanka/following{/other_user}","gists_url":"https://api.github.com/users/grzanka/gists{/gist_id}","starred_url":"https://api.github.com/users/grzanka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzanka/subscriptions","organizations_url":"https://api.github.com/users/grzanka/orgs","repos_url":"https://api.github.com/users/grzanka/repos","events_url":"https://api.github.com/users/grzanka/events{/privacy}","received_events_url":"https://api.github.com/users/grzanka/received_events","type":"User","site_admin":false},"assignees":[{"login":"grzanka","id":7374733,"avatar_url":"https://avatars.githubusercontent.com/u/7374733?v=3","gravatar_id":"","url":"https://api.github.com/users/grzanka","html_url":"https://github.com/grzanka","followers_url":"https://api.github.com/users/grzanka/followers","following_url":"https://api.github.com/users/grzanka/following{/other_user}","gists_url":"https://api.github.com/users/grzanka/gists{/gist_id}","starred_url":"https://api.github.com/users/grzanka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzanka/subscriptions","organizations_url":"https://api.github.com/users/grzanka/orgs","repos_url":"https://api.github.com/users/grzanka/repos","events_url":"https://api.github.com/users/grzanka/events{/privacy}","received_events_url":"https://api.github.com/users/grzanka/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/pytrip/pytrip/milestones/3","html_url":"https://github.com/pytrip/pytrip/milestones/1.1.1","labels_url":"https://api.github.com/repos/pytrip/pytrip/milestones/3/labels","id":1964929,"number":3,"title":"1.1.1","description":"Milestone 2 as described here: https://github.com/pytrip/pytrip/issues/20\nheavily refactor pytrip lib to fix all PEP8 errors (formatting)\nadd tests and docs to pytrip lib\nmake new release of pytrip lib (not release gui)","creator":{"login":"grzanka","id":7374733,"avatar_url":"https://avatars.githubusercontent.com/u/7374733?v=3","gravatar_id":"","url":"https://api.github.com/users/grzanka","html_url":"https://github.com/grzanka","followers_url":"https://api.github.com/users/grzanka/followers","following_url":"https://api.github.com/users/grzanka/following{/other_user}","gists_url":"https://api.github.com/users/grzanka/gists{/gist_id}","starred_url":"https://api.github.com/users/grzanka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzanka/subscriptions","organizations_url":"https://api.github.com/users/grzanka/orgs","repos_url":"https://api.github.com/users/grzanka/repos","events_url":"https://api.github.com/users/grzanka/events{/privacy}","received_events_url":"https://api.github.com/users/grzanka/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":2,"state":"open","created_at":"2016-08-26T11:23:04Z","updated_at":"2016-09-06T10:36:20Z","due_on":"2016-09-29T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-09-05T12:15:51Z","updated_at":"2016-09-06T10:36:20Z","closed_at":"2016-09-06T10:36:19Z","body":"It looks that not all code was ported properly to python3\r\n\r\n```\r\n# grzanka at gajewski-dell in /tmp [14:14:16]\r\n→ pip3 install pytrip98 --user\r\nCollecting pytrip98\r\n  Downloading pytrip98-1.1.0-cp34-cp34m-manylinux1_x86_64.whl (131kB)\r\n    100% |████████████████████████████████| 133kB 1.1MB/s \r\nRequirement already satisfied (use --upgrade to upgrade): scipy in /home/grzanka/.local/lib/python3.4/site-packages (from pytrip98)\r\nRequirement already satisfied (use --upgrade to upgrade): numpy in /usr/local/lib/python3.4/dist-packages (from pytrip98)\r\nRequirement already satisfied (use --upgrade to upgrade): matplotlib in /usr/local/lib/python3.4/dist-packages (from pytrip98)\r\nRequirement already satisfied (use --upgrade to upgrade): pydicom in /usr/local/lib/python3.4/dist-packages (from pytrip98)\r\nRequirement already satisfied (use --upgrade to upgrade): python-dateutil in /usr/local/lib/python3.4/dist-packages (from matplotlib->pytrip98)\r\nRequirement already satisfied (use --upgrade to upgrade): pytz in /usr/local/lib/python3.4/dist-packages (from matplotlib->pytrip98)\r\nRequirement already satisfied (use --upgrade to upgrade): cycler in /usr/local/lib/python3.4/dist-packages (from matplotlib->pytrip98)\r\nRequirement already satisfied (use --upgrade to upgrade): pyparsing!=2.0.4,>=1.5.6 in /usr/local/lib/python3.4/dist-packages (from matplotlib->pytrip98)\r\nRequirement already satisfied (use --upgrade to upgrade): six>=1.5 in /usr/local/lib/python3.4/dist-packages (from python-dateutil->matplotlib->pytrip98)\r\nInstalling collected packages: pytrip98\r\nSuccessfully installed pytrip98-1.1.0\r\n\r\n# grzanka at gajewski-dell in /tmp [14:14:25]\r\n→ git clone https://github.com/pytrip/testdata.git\r\nCloning into 'testdata'...\r\nremote: Counting objects: 181, done.\r\nremote: Compressing objects: 100% (178/178), done.\r\nremote: Total 181 (delta 1), reused 177 (delta 0), pack-reused 0\r\nReceiving objects: 100% (181/181), 34.19 MiB | 10.27 MiB/s, done.\r\nResolving deltas: 100% (1/1), done.\r\nChecking connectivity... done.\r\n\r\n# grzanka at gajewski-dell in /tmp [14:15:05]\r\n→ ~/.local/bin/dicom2trip testdata/DICOM/HIT/CT out\r\nTraceback (most recent call last):\r\n  File \"/home/grzanka/.local/bin/dicom2trip\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/home/grzanka/.local/lib/python3.4/site-packages/pytrip/utils/dicom2trip.py\", line 17, in main\r\n    dcm = dicomhelper.read_dicom_folder(args[0])\r\n  File \"/home/grzanka/.local/lib/python3.4/site-packages/pytrip/dicomhelper.py\", line 56, in read_dicom_folder\r\n    data[\"images\"].sort(cmp=compare_dicom_ct)\r\nTypeError: 'cmp' is an invalid keyword argument for this function\r\n```"},"comment":{"url":"https://api.github.com/repos/pytrip/pytrip/issues/comments/244912809","html_url":"https://github.com/pytrip/pytrip/issues/73#issuecomment-244912809","issue_url":"https://api.github.com/repos/pytrip/pytrip/issues/73","id":244912809,"user":{"login":"grzanka","id":7374733,"avatar_url":"https://avatars.githubusercontent.com/u/7374733?v=3","gravatar_id":"","url":"https://api.github.com/users/grzanka","html_url":"https://github.com/grzanka","followers_url":"https://api.github.com/users/grzanka/followers","following_url":"https://api.github.com/users/grzanka/following{/other_user}","gists_url":"https://api.github.com/users/grzanka/gists{/gist_id}","starred_url":"https://api.github.com/users/grzanka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzanka/subscriptions","organizations_url":"https://api.github.com/users/grzanka/orgs","repos_url":"https://api.github.com/users/grzanka/repos","events_url":"https://api.github.com/users/grzanka/events{/privacy}","received_events_url":"https://api.github.com/users/grzanka/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T10:36:19Z","updated_at":"2016-09-06T10:36:19Z","body":"Fixed in PR #74 "}}
{"actor":{"display_login":"grzanka"}}