{"action":"closed","issue":{"url":"https://api.github.com/repos/neuropoly/spinalcordtoolbox/issues/1218","repository_url":"https://api.github.com/repos/neuropoly/spinalcordtoolbox","labels_url":"https://api.github.com/repos/neuropoly/spinalcordtoolbox/issues/1218/labels{/name}","comments_url":"https://api.github.com/repos/neuropoly/spinalcordtoolbox/issues/1218/comments","events_url":"https://api.github.com/repos/neuropoly/spinalcordtoolbox/issues/1218/events","html_url":"https://github.com/neuropoly/spinalcordtoolbox/issues/1218","id":215879794,"number":1218,"title":"NameError: global name 'Coordinate' is not defined","user":{"login":"jcohenadad","id":2482071,"avatar_url":"https://avatars1.githubusercontent.com/u/2482071?v=4","gravatar_id":"","url":"https://api.github.com/users/jcohenadad","html_url":"https://github.com/jcohenadad","followers_url":"https://api.github.com/users/jcohenadad/followers","following_url":"https://api.github.com/users/jcohenadad/following{/other_user}","gists_url":"https://api.github.com/users/jcohenadad/gists{/gist_id}","starred_url":"https://api.github.com/users/jcohenadad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcohenadad/subscriptions","organizations_url":"https://api.github.com/users/jcohenadad/orgs","repos_url":"https://api.github.com/users/jcohenadad/repos","events_url":"https://api.github.com/users/jcohenadad/events{/privacy}","received_events_url":"https://api.github.com/users/jcohenadad/received_events","type":"User","site_admin":false},"labels":[{"id":103610285,"url":"https://api.github.com/repos/neuropoly/spinalcordtoolbox/labels/bug","name":"bug","color":"5319e7","default":true},{"id":541284689,"url":"https://api.github.com/repos/neuropoly/spinalcordtoolbox/labels/fix:major","name":"fix:major","color":"0e8a16","default":false},{"id":115059356,"url":"https://api.github.com/repos/neuropoly/spinalcordtoolbox/labels/sct_propseg","name":"sct_propseg","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":{"login":"jcohenadad","id":2482071,"avatar_url":"https://avatars1.githubusercontent.com/u/2482071?v=4","gravatar_id":"","url":"https://api.github.com/users/jcohenadad","html_url":"https://github.com/jcohenadad","followers_url":"https://api.github.com/users/jcohenadad/followers","following_url":"https://api.github.com/users/jcohenadad/following{/other_user}","gists_url":"https://api.github.com/users/jcohenadad/gists{/gist_id}","starred_url":"https://api.github.com/users/jcohenadad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcohenadad/subscriptions","organizations_url":"https://api.github.com/users/jcohenadad/orgs","repos_url":"https://api.github.com/users/jcohenadad/repos","events_url":"https://api.github.com/users/jcohenadad/events{/privacy}","received_events_url":"https://api.github.com/users/jcohenadad/received_events","type":"User","site_admin":false},"assignees":[{"login":"jcohenadad","id":2482071,"avatar_url":"https://avatars1.githubusercontent.com/u/2482071?v=4","gravatar_id":"","url":"https://api.github.com/users/jcohenadad","html_url":"https://github.com/jcohenadad","followers_url":"https://api.github.com/users/jcohenadad/followers","following_url":"https://api.github.com/users/jcohenadad/following{/other_user}","gists_url":"https://api.github.com/users/jcohenadad/gists{/gist_id}","starred_url":"https://api.github.com/users/jcohenadad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcohenadad/subscriptions","organizations_url":"https://api.github.com/users/jcohenadad/orgs","repos_url":"https://api.github.com/users/jcohenadad/repos","events_url":"https://api.github.com/users/jcohenadad/events{/privacy}","received_events_url":"https://api.github.com/users/jcohenadad/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-03-21T21:12:52Z","updated_at":"2018-05-21T14:58:09Z","closed_at":"2018-05-21T14:58:09Z","author_association":"CONTRIBUTOR","body":"bug seems to have been introduced by https://github.com/neuropoly/spinalcordtoolbox/pull/1157\r\n\r\nTHIS BUG IS ONLY PRESENT IN DEVEL (NOT MASTER)\r\n\r\n~~~\r\nsct_propseg -i t2s.nii.gz -init-centerline viewer -c t2\r\n\r\n--\r\nSpinal Cord Toolbox (master/a89a752661582a551e1ce46ebf38b90b32988443)\r\nRunning /Users/julien/code/sct/scripts/sct_propseg.py -i t2s.nii.gz -init-centerline viewer -c t2\r\n\r\nCreate temporary folder...\r\nsct_image -i /Users/julien/data/caterina/20170320_Russell/data/MS079_R01_11/t2s_sup/t2s.nii.gz -o tmp.170321170925_65467/tmp.t2s_SAL.nii.gz -setorient SAL -v 0\r\n/Users/julien/data/caterina/20170320_Russell/data/MS079_R01_11/t2s_sup/t2s.nii.gz\r\nWARNING: File /Users/julien/data/caterina/20170320_Russell/data/MS079_R01_11/t2s_sup/t2s.nii.gz already exists. Deleting it.\r\nTraceback (most recent call last):\r\n  File \"/Users/julien/code/sct/python/lib/python2.7/site-packages/matplotlib/backend_bases.py\", line 1903, in button_press_event\r\n    self.callbacks.process(s, mouseevent)\r\n  File \"/Users/julien/code/sct/python/lib/python2.7/site-packages/matplotlib/cbook.py\", line 563, in process\r\n    proxy(*args, **kwargs)\r\n  File \"/Users/julien/code/sct/python/lib/python2.7/site-packages/matplotlib/cbook.py\", line 430, in __call__\r\n    return mtd(*args, **kwargs)\r\n  File \"/Users/julien/code/sct/scripts/sct_viewer.py\", line 188, in on_press\r\n    self.viewer.on_press(event, self)\r\n  File \"/Users/julien/code/sct/scripts/sct_viewer.py\", line 670, in on_press\r\n    self.current_point = Coordinate(point)\r\nNameError: global name 'Coordinate' is not defined\r\n~~~"}}
{"actor":{"display_login":"zougloub"}}