[chimerax-users] Removing unwanted models from the chimerax panel

Tom Goddard goddard at sonic.net
Mon Mar 27 12:42:58 PDT 2023


Hi Boaz,

  I could add a menu entry when you right click on the file history thumbnails to clear all the history.  Would that be useful?  Or do you just want to remove some of them?  Unfortunately when I looked at allowing you to remove individual thumbnails it proved difficult, because that panel is a actually an HTML browser, and figuring out which thumbnail you clicked on or selected and getting it from Javascript in the HTML page into Python (which ChimeraX is written in) is not simple.

	Tom


> On Mar 26, 2023, at 10:16 AM, Elaine Meng via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
> 
> Hi Boaz,
> I don't know what .ctx files are.  At first I thought you meant open models in the Models Panel, but I am pretty sure that you already know how to close models. 
> 
> However, my coworker suggests that you actually meant the previously opened files and thumbnails in the File History or Rapid Access panel.  If the files no longer exist, you can easily clear them by using the context menu in that tool (File History or Rapid Access), shown with right-click (or on a Mac with trackpad or single button mouse, Ctrl-click):  Remove deleted files
> 
> <https://rbvi.ucsf.edu/chimerax/docs/user/tools/filehistory.html>
> 
> However, if the files still exist but you don't want to see them in this tool, you would need to delete the specific preferences file that has the file history.  The File History help link above says how to figure out what directory on your system contains this file, which is named file_history
> 
> I hope this helps,
> Elaine
> -----
> Elaine C. Meng, Ph.D.                       
> UCSF Chimera(X) team
> Department of Pharmaceutical Chemistry
> University of California, San Francisco
> 
>> On Mar 25, 2023, at 2:25 PM, Boaz Shaanan via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
>> 
>> Hi,
>> Excuse the trivial question: I am experimenting with various options and end up filling the panel of sessions with unwanted models. Do I have to delete the .ctx file of the session from outside Chimerax to make it disappear from the panel or is there a way to do this from within the program (i.e. the equivalent of of the Edit option in chimera)? I couldn't find such an option in the 'help' or documentation. Sorry.
>> Thanks,
>> 
>>             Boaz
> 
> 
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
> 




More information about the ChimeraX-users mailing list