spacetx / starfish

starfish: unified pipelines for image-based transcriptomics
https://spacetx-starfish.readthedocs.io/en/latest/
MIT License
225 stars 67 forks source link

question about quick start_display #2012

Closed YichengShao11 closed 6 months ago

YichengShao11 commented 6 months ago

Dear developer, I am new to starfish. I was trying to test the quick start and I got stuck at display() step. When I put in: %gui qt display(imgs)

I got:

TypeError Traceback (most recent call last) /var/folders/9r/gxv3zpjd6014fkgzhjrdkmnc0000gn/T/ipykernel_48008/2066526292.py in 1 get_ipython().run_line_magic('gui', 'qt') ----> 2 display(imgs)

~/miniconda3/envs/starfish/lib/python3.7/site-packages/starfish/core/_display.py in display(stack, spots, masks, viewer, project_axes, mask_intensities, radius_multiplier, z_multiplier) 238 axis_labels.append(Axes.X.value) 239 --> 240 viewer = Viewer(axis_labels=axis_labels) 241 new_viewer = True 242 elif isinstance(viewer, Viewer):

TypeError: 'NoneType' object is not callable

I have scikit-image 0.15.0, napari 0.3.4 python 3.9.18

Would you please help me see what's going wrong? Thanks!

YichengShao11 commented 6 months ago

My mistake, python environment is 3.7.16

YichengShao11 commented 6 months ago

Sorry, just solved it. You can close it.