{"action":"created","issue":{"url":"https://api.github.com/repos/openconnectome/open-connectome/issues/107","labels_url":"https://api.github.com/repos/openconnectome/open-connectome/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/openconnectome/open-connectome/issues/107/comments","events_url":"https://api.github.com/repos/openconnectome/open-connectome/issues/107/events","html_url":"https://github.com/openconnectome/open-connectome/issues/107","id":102913822,"number":107,"title":"allow user to specify their own \"channel name\" in an hdf5 cutout","user":{"login":"alexbaden","id":5845842,"avatar_url":"https://avatars.githubusercontent.com/u/5845842?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbaden","html_url":"https://github.com/alexbaden","followers_url":"https://api.github.com/users/alexbaden/followers","following_url":"https://api.github.com/users/alexbaden/following{/other_user}","gists_url":"https://api.github.com/users/alexbaden/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbaden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbaden/subscriptions","organizations_url":"https://api.github.com/users/alexbaden/orgs","repos_url":"https://api.github.com/users/alexbaden/repos","events_url":"https://api.github.com/users/alexbaden/events{/privacy}","received_events_url":"https://api.github.com/users/alexbaden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"randalburns","id":974518,"avatar_url":"https://avatars.githubusercontent.com/u/974518?v=3","gravatar_id":"","url":"https://api.github.com/users/randalburns","html_url":"https://github.com/randalburns","followers_url":"https://api.github.com/users/randalburns/followers","following_url":"https://api.github.com/users/randalburns/following{/other_user}","gists_url":"https://api.github.com/users/randalburns/gists{/gist_id}","starred_url":"https://api.github.com/users/randalburns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randalburns/subscriptions","organizations_url":"https://api.github.com/users/randalburns/orgs","repos_url":"https://api.github.com/users/randalburns/repos","events_url":"https://api.github.com/users/randalburns/events{/privacy}","received_events_url":"https://api.github.com/users/randalburns/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-08-24T23:31:45Z","updated_at":"2015-08-25T17:12:36Z","closed_at":null,"body":"User story: I have a generic script that takes a single channel in an HDF5 file, does some data analysis, and writes it out. I wrote my script for OCP v0.6 which used \"CUTOUT\" as every channel name. Or, maybe I am an AT user and want to run my script across multiple channels. I'll either have to change the channel name in the source code and recompile, specify it as a command line parameter, or do some sort of fancy HDF5 search to figure out what the group for my data in the HDF5 is (e.g. /DAPI/CUTOUT or /EM/CUTOUT or /WHATEVER/CUTOUT ). \r\n\r\nProposal: Provide the following interface: /ocp/ca/<<token>>/<<channel>>/hdf5{<<NAME OF GROUP>>}/<<cutout>>\r\n\r\nSo one could write: /ocp/ca/kasthuri11/image/hdf5{DATA}/<<cutout>> \r\nand get data in /DATA/CUTOUT \r\n\r\nI am writing this because it's going to wreak havoc with how I've deved the surfaces stuff. And I already have to take in a ton of command line parameters, so I'm trying to limit that when possible. I believe we only allow one cutout per HDF5 file, so that shouldn't be a problem, but one imagine a few solutions for that. What say you? I could probably implement, but would certainly need @kunallillaney help.\r\n\r\n( @jovo @willgray @j6k4m8 @Aeusman -- any of you use this? ) "},"comment":{"url":"https://api.github.com/repos/openconnectome/open-connectome/issues/comments/134673692","html_url":"https://github.com/openconnectome/open-connectome/issues/107#issuecomment-134673692","issue_url":"https://api.github.com/repos/openconnectome/open-connectome/issues/107","id":134673692,"user":{"login":"kunallillaney","id":1380214,"avatar_url":"https://avatars.githubusercontent.com/u/1380214?v=3","gravatar_id":"","url":"https://api.github.com/users/kunallillaney","html_url":"https://github.com/kunallillaney","followers_url":"https://api.github.com/users/kunallillaney/followers","following_url":"https://api.github.com/users/kunallillaney/following{/other_user}","gists_url":"https://api.github.com/users/kunallillaney/gists{/gist_id}","starred_url":"https://api.github.com/users/kunallillaney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunallillaney/subscriptions","organizations_url":"https://api.github.com/users/kunallillaney/orgs","repos_url":"https://api.github.com/users/kunallillaney/repos","events_url":"https://api.github.com/users/kunallillaney/events{/privacy}","received_events_url":"https://api.github.com/users/kunallillaney/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T17:12:36Z","updated_at":"2015-08-25T17:12:36Z","body":"We changed this to your specs for CAJAL. I don't get why is so hard to read the channel name from the HDF5 file. You can use npz service if this is hard."}}