-
Notifications
You must be signed in to change notification settings - Fork 24
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
Tiff Export Job #5195
Tiff Export Job #5195
Conversation
@philippotto Would you be interested in discussing how the front-end for this could look like? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Looks quite cool. I'll give it a test now :)
frontend/javascripts/oxalis/view/settings/export_bounding_box_modal.js
Outdated
Show resolved
Hide resolved
frontend/javascripts/oxalis/view/settings/export_bounding_box_modal.js
Outdated
Show resolved
Hide resolved
frontend/javascripts/oxalis/view/settings/export_bounding_box_modal.js
Outdated
Show resolved
Hide resolved
frontend/javascripts/oxalis/view/settings/export_bounding_box_modal.js
Outdated
Show resolved
Hide resolved
frontend/javascripts/oxalis/view/settings/export_bounding_box_modal.js
Outdated
Show resolved
Hide resolved
frontend/javascripts/oxalis/view/settings/setting_input_views.js
Outdated
Show resolved
Hide resolved
Thanks for having a look!
I could not yet figure out how to do this, but I’ll look again. I agree that it would be very valuable.
Yes, good point! What do you think would be a sensible default for this limit? (Also cc @normanrz )
I added it to avoid name collisions. Do you think it is safe to remove it? I guess we can add seconds to the timestamp to reduce the risk. |
Since my stdout showed a thrown
How about 1024**3 Vx ~ 1 GB?
You mean collisions on the server's file system, right? Ideally, the postfix would stay there, but the default name when downloading wouldn't include this. I think, this is possible by setting a HTTP header à la: |
Initially, I was thinking of (1024vx)**3 |
Btw is it downloading all layers (including segmentation)? |
the user can select the layers they want to download. downloading volume is not supported yet (since that part has to go via the tracingstore). I think, @fm3 suggested to do this in a separate PR. |
Note to self: Todo:
|
@philippotto Thanks for your feedback! I think I solved all raised issues, could you have another look? |
frontend/javascripts/oxalis/view/settings/export_bounding_box_modal.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! :) See my few comments before merging.
Lets the user download a zipfile with tiff files, exported from wkw on disk.
api/jobs/run/tiffExport/:organizationName/:dataSetName/:layerName/:bbox
(with bbox being in format x,y,z,w,h,d)api/jobs/downloadExport/:organizationName/:exportFileName
(jobs json may now include exportFileName, I already adapted api flow types)Todo:
Steps to test:
features.jobsEnabled = true
inapplication.conf
Issues: