-
Notifications
You must be signed in to change notification settings - Fork 103
Download OME-TIFF button runs Batch_Image_Export. See #8791 #417
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
Conversation
Also moved the 'Archived Files' download button into the same dropdown menu, and added a JPEG option (same as Insight).
|
Download Archived file works, so does JPEG. Clicking on OME-TIFF the first time opens the Activities list immediately but there's no sign of the export script running, even after waiting. Clicking it a second time seems to trigger the script, however the activities "in progress" icon never seems to change to completed, but refreshing the page shows that the OME-TIFF attachments have been created. The behaviour is inconsistent:
How about forcing JPEGs to download with an appropriate http header? What does everyone else think? |
NB: This requires changes to the Batch Image Export script which uses the new namespace when creating OME-TIFF files.
|
I like the latest changes. Would still benefit from someone else having a look. |
|
|
No download when no ome-tiff attached. Working |
|
@will-moore, is this dependent on ome/omero-scripts#9? |
|
@joshmoore: related for the action i.e. creation of the OME-TIFF but other UI issues to be fixed |
|
@jburel The reason for putting the time since creation is to give you some idea how out-of-date the export is. E.g. if it's only just been done then you don't need to repeat. If it's ancient, you might want to redo it so you get the latest annotations etc. Agree that "Create" is probably nicer than "Prepare". Discussed the Remove vv Delete issue with Petr the other day - We think that File annotations should behave in the same way as Comments. Single button to Remove - and the file is deleted if it becomes an orphan. |
|
@will-moore, @pwalczysko: We have to be careful with the Remove vs Delete. For an OME-TIFF or jpeg, sure but for a protocol file for example added by mistake to an image that is a problem For the time, it is maybe better to use something more generic like: today, a week ago than 1min 22sec |
|
Our thoughts were that the use case of having a Protocol attached to a single Image and then being removed from this Image is VERY rare (probably never happened). So we are continuing to confuse many users of the system by the Delete vv Remove option in order to support a practically non-existent use case. It's the same for Delete Dataset: "Also delete the images? And delete orphaned files?". We have to make some assumptions instead of asking users to make every decision. |
|
@will-moore, @pwalczysko: Changing UI behaviour should not happen in the point release. We certainly need to review it but not as part of 4.4.x |
|
@jburel Every PR going into dev_4_4 has UI changes, including this one. It was your suggestion: "Since you do not have a wait to retrieve FileAnnotation, For OME-TIFF I will only have the delete option not the remove one". |
|
@will-moore, @pwalczysko : As I mentioned before, we need to differentiate between the annotation type i.e. the annotation that can be shared and the other ones. OME-TIFF will not be shared so we can safely delete it. |
|
As discussed with @jburel we will not change the Delete / Remove options for OME-TIFF or other annotations at this stage. |
|
@will-moore; I am still not convinced by the need to have the time with such level of accuracy. Today. A Week ago etc. will be in my opinion better. |
|
|
@will-moore: It looks good now. |
Download OME-TIFF button runs Batch_Image_Export. See #8791
Also moved the 'Archived Files' download button into the
same dropdown menu, and added a JPEG option (same as Insight).
This is probably not ready to merge just now, I just wanted others to have a look for feedback etc.
To test, (need to Archive Files on import) try downloading Archived files and export OME-Tiff via "Download" button in right panel of an Image.
I'm planning to have a "Confirm" dialog open for both the "Download Original File" and "Export OME-TIFF" options, to explain to the user what's happening. Both operations can take several seconds or longer, so they need to know what's happening.
Questions: