{"action":"created","issue":{"url":"https://api.github.com/repos/spacetelescope/imexam/issues/31","repository_url":"https://api.github.com/repos/spacetelescope/imexam","labels_url":"https://api.github.com/repos/spacetelescope/imexam/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/spacetelescope/imexam/issues/31/comments","events_url":"https://api.github.com/repos/spacetelescope/imexam/issues/31/events","html_url":"https://github.com/spacetelescope/imexam/issues/31","id":87042714,"number":31,"title":"Ds9 display closing seconds after opening","user":{"login":"asymone","id":8417922,"avatar_url":"https://avatars.githubusercontent.com/u/8417922?v=3","gravatar_id":"","url":"https://api.github.com/users/asymone","html_url":"https://github.com/asymone","followers_url":"https://api.github.com/users/asymone/followers","following_url":"https://api.github.com/users/asymone/following{/other_user}","gists_url":"https://api.github.com/users/asymone/gists{/gist_id}","starred_url":"https://api.github.com/users/asymone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asymone/subscriptions","organizations_url":"https://api.github.com/users/asymone/orgs","repos_url":"https://api.github.com/users/asymone/repos","events_url":"https://api.github.com/users/asymone/events{/privacy}","received_events_url":"https://api.github.com/users/asymone/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-10T17:18:17Z","updated_at":"2016-06-18T00:21:12Z","closed_at":"2016-06-18T00:21:12Z","body":"I am trying to execute this code in a script:\r\n```python\r\n#Create region file\r\n    master_list = []\r\n    if man_sources:\r\n        for ogc in man_sources:\r\n            master_list.append('circle {} {} 10 #color=red'.format(ogc[0],ogc[1]))\r\n    if casjobs_sources:\r\n        for ogc in casjobs_sources:\r\n            master_list.append('circle {}d {}d 12 #color=green'.format(ogc[0],ogc[1]))\r\n    #DS9\r\n    viewer=imexam.connect()\r\n    viewer.load_fits(fits_image)\r\n    viewer.scale()\r\n    for reg in master_list:\r\n        viewer.set_region(reg)\r\n```\r\n\r\nWhen I run the script it opens ds9 and then displays the circles for a millisecond and then quits.  I have grabbed this newer version of imexam and the problem still persist.\r\n\r\nI am using the 7.1 version of ds9.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/spacetelescope/imexam/issues/comments/226909635","html_url":"https://github.com/spacetelescope/imexam/issues/31#issuecomment-226909635","issue_url":"https://api.github.com/repos/spacetelescope/imexam/issues/31","id":226909635,"user":{"login":"sosey","id":503615,"avatar_url":"https://avatars.githubusercontent.com/u/503615?v=3","gravatar_id":"","url":"https://api.github.com/users/sosey","html_url":"https://github.com/sosey","followers_url":"https://api.github.com/users/sosey/followers","following_url":"https://api.github.com/users/sosey/following{/other_user}","gists_url":"https://api.github.com/users/sosey/gists{/gist_id}","starred_url":"https://api.github.com/users/sosey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sosey/subscriptions","organizations_url":"https://api.github.com/users/sosey/orgs","repos_url":"https://api.github.com/users/sosey/repos","events_url":"https://api.github.com/users/sosey/events{/privacy}","received_events_url":"https://api.github.com/users/sosey/received_events","type":"User","site_admin":false},"created_at":"2016-06-18T00:21:12Z","updated_at":"2016-06-18T00:21:12Z","body":"I think this has been fixed"}}
{"actor":{"display_login":"sosey"}}