<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Dec 13, 2010, at 11:08 AM, S. Shunmugasundararaj wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0" style="position: static; z-index: auto; "><tbody><tr><td valign="top" style="font: inherit;"> Hi,<br><br>How do I delete the "Named selection" from the chimera file? I could not get the info from the archive or by searching the web.</td></tr></tbody></table></blockquote></div><br><div>I guess I've never run into a situation where someone <i>wants</i> to remove/delete a named selection! Can you describe why you want/need to do this? I would consider making it easier to do if whatever situation you describe seems like it might be run into by others.</div><div><br></div><div>Anyway, I'm assuming that "chimera file" means a Chimera session file. To remove named selections from a session file you would edit it with a text editor (that can handle long lines) and look for a line that looks like this:</div><div><br></div><div>savedSels = [[sel-name1, [bunch of numbers...], [sel-name2, [more numbers], <i>etc.</i>]</div><div><br></div><div>To remove sel-name1 from the save selection, change the line to:</div><div><br></div><div><div>savedSels = [[sel-name2, [more numbers], <i>etc.</i>]</div></div><div><br></div><div>To remove all selections:</div><div><br></div><div>saveSels = []</div><div><br></div><div><i>Don't</i> just remove the line entirely. You'll get an error restoring the session if you do that.</div><div><br></div><div>--Eric</div><div><br></div><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><span class="Apple-converted-space"> <span class="Apple-converted-space"> </span></span>Eric Pettersen</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><span class="Apple-converted-space"> <span class="Apple-converted-space"> </span></span>UCSF Computer Graphics Lab</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><span class="Apple-converted-space"> </span><a href="http://www.cgl.ucsf.edu">http://www.cgl.ucsf.edu</a></font></p><br class="Apple-interchange-newline"></div></span> </div><br></body></html>