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

Opening ndtiff dataset in two different processes #110

Open
ieivanov opened this issue May 1, 2023 · 2 comments
Open

Opening ndtiff dataset in two different processes #110

ieivanov opened this issue May 1, 2023 · 2 comments
Labels
question Further information is requested

Comments

@ieivanov
Copy link
Collaborator

ieivanov commented May 1, 2023

Hey @henrypinkard I would like to open a ndtiff Dataset that is currently being acquired in a separate process for viewing with napari. I need to do that because I am running two Acquisitions in parallel and would like to view the data from both. Do you see a problem with opening a current dataset in a different process? Would the builtin thread lock protect from read/write conflicts?

@ieivanov ieivanov added the question Further information is requested label May 1, 2023
@henrypinkard
Copy link
Member

If you open it by just passing the path to it (i.e. not using image saved callbacks), then there should be no problem because it is read only. However, you will keep having to reopen it, because the index will be read once opening and then not updated unless you repoen

@ieivanov
Copy link
Collaborator Author

ieivanov commented May 2, 2023

Great, thanks! I also saw that I have to keep reopening the dataset, as you described, which is not really a problem. And I get a warning that the dataset is not complete, which is also expected. I'm stress testing it now to make sure nothing really breaks

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

No branches or pull requests

2 participants