[chimerax-users] How to get all values from Fit List table

Tom Goddard goddard at sonic.net
Tue May 24 12:03:42 PDT 2022


Hi Yiannis,

  Unfortunately that list of fits does not seem to allow copy and paste.  I'll try to add that.  But in the mean time you could add a print line to the ChimeraX Python code and the fit table will then appear in the Log panel and copy and paste works for that.  The file you would need to modify in your ChimeraX is on Mac

	 ChimeraX.app/Contents/lib/python3.9/site-packages/chimerax/map_fit/fitlist.py

around line 152 you will see function called add_fit

    def add_fit(self, fit):

        line = self.list_line(fit)
        self.list_box.addItem(line)
        self.list_fits.append(fit)

which you can add the following print(line). 

    def add_fit(self, fit):

        line = self.list_line(fit)
        print(line)
        self.list_box.addItem(line)
        self.list_fits.append(fit)

Then start ChimeraX and create your fits and it will print the table to the Log too.  The same file is in Linux and Windows ChimeraX, let me know if you can't find it.

   Tom


> On May 24, 2022, at 6:29 AM, Ioannis Skalidis via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
> 
> Hello all,
> 
> I am doing some fit searches in Chimera X and I would like to use the values reported not only for "Correlations and times found" (which is reported in the log and can be copied) but also the "Ave" and "Inside" values reported for each fit in the Fit list. But unfortunately, I cannot copy any of the values in the Fit List.
> 
> Is there any workaround available so I can get all these values?
> 
> Thanks a lot,
> 
> Yiannis.
> 
> 
> -- 
> 
> 
> 
> Skalidis Ioannis, MSc
> Biochemistry & Cryo-EM Scientist
> PhD Candidate
> Kastritis Laboratory for Biomolecular Research
> Cryo-Electron Microscopy & Computational Structural Biology
> 
> ________________________________________________
> Martin-Luther-Universität Halle-Wittenberg
> Biozentrum, Room A.2.21
> IWE ZIK HALOmem NWG III
> "Kryo-Elektronenmikroskopie an Membranproteinkomplexen"
> Weinbergweg 22, 06120 Halle
> tel: +49 345 5524986
> web (Lab): https://blogs.urz.uni-halle.de/kastritislab/
> web (HALOmem): https://www.halomem.de/en/
> 
> _______________________________________________
> 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