{"action":"opened","issue":{"url":"https://api.github.com/repos/openconnectome/ocpMatlab/issues/4","labels_url":"https://api.github.com/repos/openconnectome/ocpMatlab/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/openconnectome/ocpMatlab/issues/4/comments","events_url":"https://api.github.com/repos/openconnectome/ocpMatlab/issues/4/events","html_url":"https://github.com/openconnectome/ocpMatlab/issues/4","id":59868004,"number":4,"title":"xyzOffsets not uploading for voxelLists","user":{"login":"asanborn","id":10459870,"avatar_url":"https://avatars.githubusercontent.com/u/10459870?v=3","gravatar_id":"","url":"https://api.github.com/users/asanborn","html_url":"https://github.com/asanborn","followers_url":"https://api.github.com/users/asanborn/followers","following_url":"https://api.github.com/users/asanborn/following{/other_user}","gists_url":"https://api.github.com/users/asanborn/gists{/gist_id}","starred_url":"https://api.github.com/users/asanborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asanborn/subscriptions","organizations_url":"https://api.github.com/users/asanborn/orgs","repos_url":"https://api.github.com/users/asanborn/repos","events_url":"https://api.github.com/users/asanborn/events{/privacy}","received_events_url":"https://api.github.com/users/asanborn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-04T21:51:48Z","updated_at":"2015-03-04T21:51:48Z","closed_at":null,"body":"If I create a RAMONSegment of type voxelList with specified xyzOffset, then upload it and query it, I get the same RAMONSegment back except the xyzOffset is empty.\r\n\r\ne.g.:\r\n\r\ncentroid = [20,3,9];\r\nxyzOffset = [2000 2000 500];\r\nz1 = RAMONSegment(centroid, eRAMONDataFormat.voxelList, ...\r\n                  xyzOffset, resolution, ...\r\n                  eRAMONSegmentClass.soma);\r\n\r\nz1 = \r\n\r\n  1x3 RAMONSegment array with properties:\r\n\r\n                class: [1x1 eRAMONSegmentClass]\r\n               neuron: []\r\n             synapses: []\r\n           organelles: []\r\n           parentSeed: []\r\n            xyzOffset: [2000 2000 500]\r\n           resolution: 0\r\n                 name: 'Volume1'\r\n    sliceDisplayIndex: 1\r\n           dataFormat: [1x1 eRAMONDataFormat]\r\n                 data: [20 3 9]\r\n           uploadType: []\r\n             dataType: [1x1 eRAMONDataType]\r\n                   id: 0\r\n           confidence: 1\r\n      dynamicMetadata: [0x1 containers.Map]\r\n               status: [1x1 eRAMONAnnoStatus]\r\n               author: 'asanborn'\r\n\r\nid = oo.createAnnotation(z1);\r\n\r\nq2 = OCPQuery;\r\nq2.setType(eOCPQueryType.RAMONVoxelList);\r\nq2.setResolution(resolution);\r\nq2.setId(id);\r\nz2 = oo.query(q2);\r\n\r\nThen the queried object looks like\r\n\r\nz2{:} = \r\n\r\n  1x3 RAMONSegment array with properties:\r\n\r\n                class: [1x1 eRAMONSegmentClass]\r\n               neuron: 0\r\n             synapses: []\r\n           organelles: []\r\n           parentSeed: 0\r\n            xyzOffset: []\r\n           resolution: 0\r\n                 name: 'Volume1'\r\n    sliceDisplayIndex: 1\r\n           dataFormat: [1x1 eRAMONDataFormat]\r\n                 data: [20 3 9]\r\n           uploadType: []\r\n             dataType: [1x1 eRAMONDataType]\r\n                   id: 3\r\n           confidence: 1\r\n      dynamicMetadata: [0x1 containers.Map]\r\n               status: [1x1 eRAMONAnnoStatus]\r\n               author: 'asanborn'"}}