Skip to content
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

TMA grid view does not show all TMA cores #96

Closed
DavidMHaumann opened this issue Aug 30, 2017 · 4 comments
Closed

TMA grid view does not show all TMA cores #96

DavidMHaumann opened this issue Aug 30, 2017 · 4 comments
Labels
Milestone

Comments

@DavidMHaumann
Copy link

Has anyone an idea why the tma grid view does not show all TMA cores? see below

grafik

@Svidro
Copy link

Svidro commented Aug 30, 2017

I do not have access to a TMA at the moment but are those cores set to "missing" (they would have a lighter core outline)?

@DavidMHaumann
Copy link
Author

No, they are blue and have content. That is the strange point. I could not find out anything yet, that the not viewed cores have in common.

@petebankhead
Copy link
Member

The core images are loaded in a background thread, and there is a 5 second timeout associated with this - see here.

One possibility is that the timeout isn't generous enough in your case, and the cores are not being loaded fast enough. I don't know why that would be the case... it might be to do with the computer specifications, where the image is located (a network share?), or the access time required for the specific file format.

Another option is that there are just too many cores. That is my best guess, since the scrollbar thumb on the right in your screenshot looks very small. There is a limit to the size of the cache used to store the TMA cores to reduce the risk of memory errors, see here for the location in the code.

Currently there is no way to increase the size of the cache through the user interface to support more cores in the grid view. Although, as is often the case, there is a way through a script. You could try running this to double the cache size to see if it helps.

qupath.lib.gui.commands.TMAGridView.MAX_CACHE_SIZE = 500

petebankhead added a commit to petebankhead/qupath that referenced this issue Jun 16, 2020
@petebankhead petebankhead added this to the v0.2.1 milestone Jun 16, 2020
@petebankhead
Copy link
Member

I've updated these limits in v0.2.1. Hopefully that is enough to avoid this issue resurfacing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants