{"action":"closed","issue":{"url":"https://api.github.com/repos/gpilab/philips-data-reader/issues/1","labels_url":"https://api.github.com/repos/gpilab/philips-data-reader/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/gpilab/philips-data-reader/issues/1/comments","events_url":"https://api.github.com/repos/gpilab/philips-data-reader/issues/1/events","html_url":"https://github.com/gpilab/philips-data-reader/issues/1","id":67437652,"number":1,"title":"ky-chop with RAW/LAB/SIN","user":{"login":"nckz","id":8194019,"avatar_url":"https://avatars.githubusercontent.com/u/8194019?v=3","gravatar_id":"","url":"https://api.github.com/users/nckz","html_url":"https://github.com/nckz","followers_url":"https://api.github.com/users/nckz/followers","following_url":"https://api.github.com/users/nckz/following{/other_user}","gists_url":"https://api.github.com/users/nckz/gists{/gist_id}","starred_url":"https://api.github.com/users/nckz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nckz/subscriptions","organizations_url":"https://api.github.com/users/nckz/orgs","repos_url":"https://api.github.com/users/nckz/repos","events_url":"https://api.github.com/users/nckz/events{/privacy}","received_events_url":"https://api.github.com/users/nckz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-09T19:50:03Z","updated_at":"2015-04-17T22:19:40Z","closed_at":"2015-04-17T22:19:40Z","body":"The latest version of the ReadPhilips node crashes when trying to read in RAW/LAB/SIN data (R5). The crash occurs when trying to select “ky chop”. I also note that when the data is read in, one of the dim labels that should be labeled as “ky” is instead labeled as “e1”. \r\n\r\nThe error does not occur for LIST/DATA data. The error also does not occur for RAW/LAB/SIN read using an older version of ReadPhilips node from GPI_v0.2.1. \r\n\r\nThe error message is copied below:\r\n\r\nWed Apr  8 15:41:41 2015 - gpi.functor:358 - ERROR - PROCESS: 'ReadPhilips':'' compute() failed.\r\nTraceback (most recent call last):\r\n  File \"/opt/gpi/lib/gpi/functor.py\", line 356, in run\r\n    self._proxy.append(['retcode', self._func()])\r\n  File \"/Users/melvyn_ooi/gpi/philips/fileIO/GPI/ReadPhilips_GPI.py\", line 502, in compute\r\n    base, raw_corr, chopON, cur_coil, cur_loc)\r\n  File \"/Users/melvyn_ooi/gpi/philips/fileIO/readPhilipsExports.py\", line 1371, in readRaw\r\n    if chop_ky and (e1 % 2) == 0:\r\nUnboundLocalError: local variable 'e1' referenced before assignment\r\n  \r\n--Melvyn"}}