Roifolders improvements#4549
Conversation
|
|
||
| /** Rebuilds Tree */ | ||
| void rebuildTable() { | ||
| void rebuildTable() { |
|
The server on regions is down atm after beluga restart. Will test after the server is back. |
|
Opened the image with 1000 ROIs as user-14 on the regions server. The performance was good (display of the ROIs and display of the MT table). |
|
Another performance issue - after I have the 390 ROIs out of 1000 in a folder, I am making the folder visible and invisible. The action goes ahead quickly. But if I repeat the visible-invisible-visible, then I see some lag, although not always. |
|
Took another 200 ROIs and tried to put them into a new folder. Hit the already reported by Gus |
|
Fixed the NullPointerException. Can confirm that adding many ROIs to the a folder takes quite some time. That's a serverside problem. Not much I can do on the client side. Which raises the question, if we would need a better indication, that a "Save" action is still ongoing. Dialog? Progressbar (can't show the real progress however)? You can see on the status label at the bottom left, that a Save action is ongoing, but that's not really eye catching. |
|
You're adding them in batches at least rather than one-by-one? |
I think it would be better to make it faster.... as for the indication, why not to pop up Activities ? This is an obvious place to report ongoing actions in Insight. |
|
Yes, it's done in batches. But it might not be a big problem anyway, if the user has to wait for a bit. I don't think shifting batches of hundreds of ROIs around is a task the user wants to perform with a frequency of multiple times per minute, is it? Just a good indication that the action is still ongoing, might be worth implementing. |
|
@pwalczysko Ah, the 'Activities' is a good idea, thanks. I'll look into that. But that'd be a separate PR. |
As discussed with @dominikl , putting hundred of ROIs into one folder in order to make manageable the lets say 300 ROIs I have in the image is a pretty obvious task (partition the sea of ROIs in you image into smaller, manageable batches, which you can later make visible/invisible) |
b1045f6 to
cdd44ab
Compare
|
Re-review: Last two commits only.
(Performance issues and/or usage of Activities dialog have to fixed in separate PR) |
|
|
|
Thanks @mtbc , didn't know where to find the test results. |
|
Both commits due to test were fine
Ready to merge. |
|
Thanks @pwalczysko . Will investigate/tackle the performance problem of the "add ROIs to folder" action in a separate PR. |
| import java.util.concurrent.ExecutionException; | ||
|
|
||
| import org.apache.commons.collections.CollectionUtils; | ||
| import org.apache.commons.lang.NotImplementedException; |
There was a problem hiding this comment.
NB: Use of this seems new to me. Not that it's a bad idea, but we may need to make sure it's use is documented, etc.
This PR...
testSaveImagelessROIs); it doesn't have a real significance in the client, yet.IMHO even the interactions with the 1000 ROIs fake image work pretty well. Is that already close to a "real world" example? Looking forward to test the ROI tool with an IDR example...