<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Markus,<div>It is a mystery to me… I tried it in both 1.8.1 and the current pre-1.9 daily build and didn't get the error. I'd say go ahead and submit a report… we can always close it if it's not reproducible.</div><div><br></div><div>However, the result I got was somewhat ugly because there were several holes in the pocket. I then tried a larger cutoff, as in the folowing:</div><div><br></div>open 2v5z<br>delete :.b<br>split atoms :sag<br>surface<br>measure contactArea #0.2 #0.1 4 slab -.1,0 color tan<br>measure contactArea #0.2 #0.1 3.99 slab -.11,-.01 color cornflowerblue<br>~surf #0<br>~disp; ~ribbon; disp :sag<br><div>sop hideDust #1,2 size 1 metric sizeRank</div><div><br></div><div>which I think got rid of as many of the holes as reasonably possible, but there were still a couple of ugly places that might be surface calculation artifacts: where the blue shows through the tan near the middle of the attached image, and the little funnel on the upper right. There is a small opening through the funnel, so I'm not sure whether it's an artifact or the actual shape of the pocket. This general process would be expected to make a better-looking figure for pockets with fewer openings.</div><div><br></div><div>This pocket could alternatively be considered one large pocket containing both the SAG and FAD. For example, in a separate Chimera session I tried:</div><div><br></div><div>open castp:2v5z</div><div><br></div><div>which reports the two largest pockets as the SAG/FAD pockets of the A and B chains, respectively. If you are using the "measure contactArea" approach to get the appearance of different inside and outside pocket colors as shown in the image gallery figure, it could be done for this collective pocket with "split atoms :sag,fad" (well, assuming you didn't get that mysterious error again!). Sorry for the weirdness,</div><div>Elaine</div><div><div>----------<br>Elaine C. Meng, Ph.D. <br>UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab<br>Department of Pharmaceutical Chemistry<br>University of California, San Francisco<br><br><img height="272" width="450" apple-width="yes" apple-height="yes" id="3e52793a-6be4-4ca5-9ab9-73f9a98baed4" src="cid:83938CA3-98CF-4250-B70A-464D9B5233E7@compbio.ucsf.edu"></div><br>On Mar 27, 2014, at 1:05 PM, Markus Heller <<a href="mailto:mheller@cdrd.ca">mheller@cdrd.ca</a>> wrote:<br><br><blockquote type="cite">Hello,<br> <br>I’m trying to reproduce the Binding Pocket Surface image from the Gallery with a different pdb file.<br> <br>I can successfully reproduce with the pdb used in the example (2zcp), but not with 2v5z. Running latest Chimera.<br> <br>Steps to reproduce:<br> <br>open 2v5z<br>delete :.b<br>split atoms :sag<br>surface<br>measure contactArea #0.2 #0.1 3 slab -.1,0 color tan<br> <br>gives an error:<br> <br>error: Array must be 2-dimensional, got 1-dimensional<br> <br> <br> File "C:\Program Files\Chimera 1.8.1\share\MeasureVolume\__init__.py", line 60, in surface_area<br> area = surface_area(varray, tarray)<br> <br>See reply log for Python traceback.<br> <br>Why, and would it be helpful to file a bug report?<br> <br>Thanks and Cheers<br>Markus<br> <br>--<br>Markus Heller, Ph.D.<br>NMR Scientist<br>CDRD - The Centre for Drug Research and Development<br>2405 Wesbrook Mall, Fourth Floor | Vancouver, BC V6T 1Z3 | Main: (604) 827-1147<br>Direct: (604) 827-1122 | F: (604) 827-1299 | E: <a href="mailto:mheller@cdrd.ca">mheller@cdrd.ca</a> | www.cdrd.ca<br><span><image007.png></span><br> <br> <br> <br> <br><br>Follow us: <span><image003.jpg></span> <span><image004.jpg></span> <span><image005.png></span> <span><image006.png></span><br> <br>This email and any files transmitted with it are confidential and intended solely for the addressee. If you are not the named addressee you should not disseminate, distribute, copy, or alter this email.<br> <br> <br>_______________________________________________<br>Chimera-users mailing list<br>Chimera-users@cgl.ucsf.edu<br>http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users<br></blockquote><br></div></body></html>