-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Design component to retrieve all the data for the zip file server #1163
Comments
@Robbie1977 @dosumis these are the requirements we will start for the download feature, feel free to edit/correct anything you spot needs to be changed. Thx |
wait an input from @Robbie1977 for the point 3, the idea is to provide the geppetto model with the needed info from the ac.uk bundle. |
@jrmartin Robbie suggested to use something similar to this approach https://github.com/VirtualFlyBrain/uk.ac.vfb.geppetto/blob/master/src/main/java/uk/ac/vfb/geppetto/VFBProcessTermInfo.java#L723 , could you check how we can extend the model to fit more information similar to what they are doing with the slice viewer and give Robbie a reference of where these info can be placed? (we can have a chat about this if not clear). |
@ddelpiano @jrmartin development branch now implements the VFB_xxxxxxxx.VFB_xxxxxxxx_meta variable: DownloadMeta
{'obj':{'url':'https://v2.virtualflybrain.org/data/VFB/i/jrch/ju5n/VFB_00101567/volume.obj','local':'VFB_00101567/PointCloudFiles(OBJ)/VFB_jrchju5n_(FB7B_L_(FlyEM-HB:948346463)).obj'},'swc':{'url':'https://v2.virtualflybrain.org/data/VFB/i/jrch/ju5n/VFB_00101567/volume.swc','local':'VFB_00101567/Skeleton(SWC)/VFB_jrchju5n_(FB7B_L_(FlyEM-HB:948346463)).swc'},'wlz':{'url':'https://v2.virtualflybrain.org/data/VFB/i/jrch/ju5n/VFB_00101567/volume.wlz','local':'VFB_00101567/Slices(WOOLZ)/VFB_jrchju5n_(FB7B_L_(FlyEM-HB:948346463)).wlz'},'nrrd':{'url':'https://v2.virtualflybrain.org/data/VFB/i/jrch/ju5n/VFB_00101567/volume.nrrd','local':'VFB_00101567/SignalFiles(NRRD)/VFB_jrchju5n_(FB7B_L_(FlyEM-HB:948346463)).nrrd'}} formatted: {
"obj":{
"url":"https://v2.virtualflybrain.org/data/VFB/i/jrch/ju5n/VFB_00101567/volume.obj",
"local":"VFB_00101567/PointCloudFiles(OBJ)/VFB_jrchju5n_(FB7B_L_(FlyEM-HB:948346463)).obj"
},
"swc":{
"url":"https://v2.virtualflybrain.org/data/VFB/i/jrch/ju5n/VFB_00101567/volume.swc",
"local":"VFB_00101567/Skeleton(SWC)/VFB_jrchju5n_(FB7B_L_(FlyEM-HB:948346463)).swc"
},
"wlz":{
"url":"https://v2.virtualflybrain.org/data/VFB/i/jrch/ju5n/VFB_00101567/volume.wlz",
"local":"VFB_00101567/Slices(WOOLZ)/VFB_jrchju5n_(FB7B_L_(FlyEM-HB:948346463)).wlz"
},
"nrrd":{
"url":"https://v2.virtualflybrain.org/data/VFB/i/jrch/ju5n/VFB_00101567/volume.nrrd",
"local":"VFB_00101567/SignalFiles(NRRD)/VFB_jrchju5n_(FB7B_L_(FlyEM-HB:948346463)).nrrd"
}
} |
@Robbie1977 @ddelpiano Are the values here hard coded in the json or are those ID's dependent on what's current selected in VFB?
For example, if we load http://localhost:8081/org.geppetto.frontend/geppetto?id=VFB_00101567
And also, to download all these files, should they zipped together in a file and download that zip file, or is each selected file downloaded by itself. |
@jrmartin the download will be for all loaded variables in VFB (so everything in the layers tool). The selection will be for the types of files you want to include (even if they don't exist for all variables). So you can download all citations and swc files for everything currently shown. The template has no swc files available so will just be skipped but (should) have a citation file so that will be included. |
Thanks @Robbie1977 . |
Design a component that traverse the geppetto model to extract the url of all the resources selected (from json/UI)
What metadata we need to extract from the geppetto model to be passed to the file server? @Robbie1977
The component will have then to create a json structure as per example below:
Discussed with Robb in the call, each file will be provided with the destination path already pre-filled by the backend.
The text was updated successfully, but these errors were encountered: