-
Notifications
You must be signed in to change notification settings - Fork 15
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
sopa.segmentation.transcripts.resolve
for Baysor segmentation fails
#115
Comments
Hi @Marius1311, Thanks for reporting this. In your case, I imagine you have multiple images (one per z-stack), so the Indeed, explicitly passing the Let me know what you think of this approach! |
thanks for your reply! would that mean I have to know at loading time which z-slide to use for segmentation? In my case, that's something that I'm only finding out once I loaded and played around with the data a bit. I think it's more convenient to be able to decide later on, at segmentation time, which z-slide (or, in general, spatial element) should be used. |
Not necessarily: it would mean that, if you don't choose any z-stack, then it will use the middle one. But you would still be able to load all z-stacks, play around, and then choose the one with the best quality. In that case, you'll need to provide it as an argument while using the API. The idea is that, by default, the API could run with minimal effort from the user, even for technologies with multiple images. And, if desired, the user could still provide additional arguments. |
I had the same issue, but because I had multiple Points elements (I have one with transcripts and one with control probes). I agree that it would be nice to have more build-in flexibility for specifying keys. Now I modified the |
Thanks @lardenoije for your feedback! I'm working on a new version of the API ( |
Thanks for this amazing tool!
Description
I have an sdata object with more than one image (MERSCOPE data with 7 z slices), and I used Baysor trough the sopa pipeline for segmentation. When running
I get
It seems like it's looking for an image that does not exist. Removing the line
image_key, _ = get_spatial_image(sdata, return_key=True)
and instead passing theimage_key
explicitly to the method resolves this bug.System
The text was updated successfully, but these errors were encountered: