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

3D Slicer fetching wrong sample due to local cache #1484

Open
elialombardo opened this issue Jul 6, 2023 · 1 comment
Open

3D Slicer fetching wrong sample due to local cache #1484

elialombardo opened this issue Jul 6, 2023 · 1 comment

Comments

@elialombardo
Copy link

I am using MONAI label with the radiology app and 3D Slicer to annotate and auto-segment MRI images. I want to create a new model for every patient so I re-start the MONAI label server and specify a new study directory. Recently I had the problem that Slicer was fetching samples from a previous patient even though that patient was not selected... talking with @nvahmadi, who has had a similar issue, it turned out that the MONAI label client UI checks whether a file of that name is already in Slicer's cache. If so, it saves the download time from the server and uses the image from Slicer's cache. As my two patients had the same filenames, Slicer was using the image from the cache.

A nice solution would be that the MONAI Label settings in Slicer's application settings panel include a checkbox "Use Slicer local cache to avoid downloads". Alternatively, the UI could have a button "Clear Slicer local cache" that can be pressed if such issues occur.

My workaround at the moment is to manually empty the Slicer cache in the Application Settings menu. Thanks to @nvahmadi for the hint!

@diazandr3s
Copy link
Collaborator

Thanks for opening this issue, @elialombardo
@lassoan do you know how difficult could it be to have this button/functionality in Slicer? Is there a function that MONAI Label can use for this?
Thanks!

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

No branches or pull requests

2 participants