
Hi Beth, That looks like a bug in Segger. Hopefully you pressed the Report a Bug... button when it appeared. From the error message and looking at that line of code I see that the normal vectors for the surface of one of your regions is None. That probably means that region was never displayed. So I guess you have lots of regions and some are not displayed. There is an option in the Segment Map dialog that says "Display at most 60 regions" and you could probably fix your problem by increasing the 60 so that all your segmented regions are displayed. Tom
On Feb 5, 2024, at 8:43 AM, M. Elizabeth Stroupe via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi,
I am having some trouble coloring my map based on segmentation. It used to be straightforward from the “Regions” menu of the segmentation tool, but now I am getting an error
"TypeError: unsupported operand type(s) for *: 'float' and 'NoneType'
File "/Applications/ChimeraX-1.7.1.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/chimerax/segger/regions.py", line 1884, in color_surface_pieces xyz = v - offset*n”
I also tried to do it by line command but I confess I am not sure what to put for “seg-map”.
Thank you for your help,
Beth _______________________________________________ ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/