{"action":"created","issue":{"url":"https://api.github.com/repos/girder/girder_worker/issues/154","repository_url":"https://api.github.com/repos/girder/girder_worker","labels_url":"https://api.github.com/repos/girder/girder_worker/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/girder/girder_worker/issues/154/comments","events_url":"https://api.github.com/repos/girder/girder_worker/issues/154/events","html_url":"https://github.com/girder/girder_worker/issues/154","id":234301616,"number":154,"title":"Support enumeration parameters in girder-worker task spec","user":{"login":"cdeepakroy","id":1923534,"avatar_url":"https://avatars2.githubusercontent.com/u/1923534?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeepakroy","html_url":"https://github.com/cdeepakroy","followers_url":"https://api.github.com/users/cdeepakroy/followers","following_url":"https://api.github.com/users/cdeepakroy/following{/other_user}","gists_url":"https://api.github.com/users/cdeepakroy/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeepakroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeepakroy/subscriptions","organizations_url":"https://api.github.com/users/cdeepakroy/orgs","repos_url":"https://api.github.com/users/cdeepakroy/repos","events_url":"https://api.github.com/users/cdeepakroy/events{/privacy}","received_events_url":"https://api.github.com/users/cdeepakroy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-06-07T18:29:21Z","updated_at":"2017-06-08T13:30:44Z","closed_at":null,"body":"Enumeration parameters (wherein one of a discrete set of values are allowed for the parameter) are a common need for many tasks.\r\n\r\nThe Slicer CLI [XML spec](https://www.slicer.org/wiki/Documentation/Nightly/Developers/SlicerExecutionModel#XML_Schema) supports string, integer, float, and double enumeration parameters for CLIs (see [example](https://github.com/cdeepakroy/cnn-image-classification/blob/master/ClassifyImage/ClassifyImage.xml#L20-L32)). \r\n\r\nThe lack of support for enumeration parameters in girder-worker task-spec is a limitation in correctly converting XML spec of Slicer CLIs with these parameters and auto-generating UI for them in the item_tasks plugin of Girder."},"comment":{"url":"https://api.github.com/repos/girder/girder_worker/issues/comments/307103732","html_url":"https://github.com/girder/girder_worker/issues/154#issuecomment-307103732","issue_url":"https://api.github.com/repos/girder/girder_worker/issues/154","id":307103732,"user":{"login":"cdeepakroy","id":1923534,"avatar_url":"https://avatars2.githubusercontent.com/u/1923534?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeepakroy","html_url":"https://github.com/cdeepakroy","followers_url":"https://api.github.com/users/cdeepakroy/followers","following_url":"https://api.github.com/users/cdeepakroy/following{/other_user}","gists_url":"https://api.github.com/users/cdeepakroy/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeepakroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeepakroy/subscriptions","organizations_url":"https://api.github.com/users/cdeepakroy/orgs","repos_url":"https://api.github.com/users/cdeepakroy/repos","events_url":"https://api.github.com/users/cdeepakroy/events{/privacy}","received_events_url":"https://api.github.com/users/cdeepakroy/received_events","type":"User","site_admin":false},"created_at":"2017-06-08T13:30:44Z","updated_at":"2017-06-08T13:30:44Z","body":"Does the UI generation code need a JSON Spec or does it also directly work on the Slicer XML spec?"}}
{"actor":{"display_login":"cdeepakroy"}}