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

cell segmentation cs.score_and_mask_pixels function modulenotfounderror #235

Open
vivian-huang opened this issue Apr 8, 2024 · 1 comment
Assignees

Comments

@vivian-huang
Copy link

Hi,

I am trying to follow the Spateo cell segmentation tutorial, but I am throwing a ModuleNotFoundError for fbgbp at this step for segmentation:

st.cs.score_and_mask_pixels( adata, 'nuclear', k=5, method="EM+BP" )

Checking my installed libraries, however, it appears that fbgbp==0.2.1 is already installed.

To try to get around this problem, I directly cloned the fbgbp locally and inserted a path via

sys.path.insert(0, "/Users/lab/Downloads/fbgbp/")
import fbgbp

prior to the st.cs.score_and_mask_pixels function, but I am getting a new ModuleNotFoundError: No module named 'fbgbp.binary_belief_propagation'

image

Any help with this would be appreciated. Thanks!

@Xiaojieqiu
Copy link
Contributor

Xiaojieqiu commented Apr 9, 2024

Hi Vivan, I think you will need to update and install the fbgbp package.

@YifanLu2000 can you please fix the version issue and dependency issue for spateo?

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

3 participants