<div dir="ltr">Hi, <div><br></div><div>I executed 'color zone #2 near #1 distance 5 sharpEdges true' to colour a map I loaded, followed by "volume splitbyzone #2', but repeatedly would get an error that the volume specified is not coloured by zone. Eventually after trying multiple times, it worked, however the log outputted the following:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">Traceback (most recent call last):<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">  File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/core/triggerset.py", line 130, in invoke<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">    return self._func(self._name, data)<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">  File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/map/volume.py", line 3557, in _update_drawings<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">    v.update_drawings()<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">  File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/map/volume.py", line 701, in update_drawings<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">    self._update_surfaces()<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">  File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/map/volume.py", line 724, in _update_surfaces<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">    s.update_surface(ro)<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">  File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/map/volume.py", line 1953, in update_surface<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">    va, na, ta, hidden_edges = self._calculate_contour_surface(matrix, level, rendering_options)<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">  File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/map/volume.py", line 2048, in _calculate_contour_surface<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">    rendering_options, level)<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">  File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/map/volume.py", line 2071, in _adjust_surface_geometry<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">    varray, tarray, narray = subdivide_triangles(varray, tarray, narray)<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">ValueError: not enough values to unpack (expected 3, got 2)</span><br style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium"><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">Error processing trigger "graphics update": not enough values to unpack (expected 3, got 2):<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">ValueError: not enough values to unpack (expected 3, got 2)</span><br style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium"><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/map/volume.py", line 2071, in _adjust_surface_geometry<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">varray, tarray, narray = subdivide_triangles(varray, tarray, narray)</span></blockquote><div><br></div>I also get the following when using the color zone command, even though color zone works (most of the times, sometimes it fails)<div><br><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">Traceback (most recent call last):<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">  File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/cmd_line/tool.py", line 254, in execute<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">    cmd.run(cmd_text)<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">  File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/core/commands/cli.py", line 2641, in run<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">    result = ci.function(session, **kw_args)<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">  File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/std_commands/color.py", line 1248, in color_zone<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">    color_zone(s, spoints, colors, distance, sharp_edges = sharp_edges, auto_update = update)<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">  File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/surface/colorzone.py", line 14, in color_zone<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">    zc.set_vertex_colors()<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">  File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/surface/colorzone.py", line 84, in set_vertex_colors<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">    replace = True)<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">  File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/surface/colorzone.py", line 123, in color_zone_sharp_edges<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">    ec = _edge_cuts(varray, tarray, i1, n1, points, colors, distance)<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">  File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/surface/colorzone.py", line 147, in _edge_cuts<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">    f = _edge_cut_position(varray, v1, v2, p1, p2, points, colors, distance)<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">  File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/surface/colorzone.py", line 181, in _edge_cut_position<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">    raise ValueError('Cut fraction %.5g is out of range (0,1)' % f)<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">ValueError: Cut fraction 1.8061 is out of range (0,1)</span><br style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium"><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">ValueError: Cut fraction 1.8061 is out of range (0,1)</span><br style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium"><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/surface/colorzone.py", line 181, in _edge_cut_position<br></span><span style="color:rgb(0,0,0);font-family:"DejaVu Serif";font-size:medium">raise ValueError('Cut fraction %.5g is out of range (0,1)' % f)</span></blockquote><br></div></div></div>