[chimerax-users] How to get all values from Fit List table
Ioannis Skalidis
johnskalidis at gmail.com
Wed May 25 01:35:08 PDT 2022
Thanks a lot Tom, you're a lifesaver!
Cheers,
Yiannis.
On 24.05.22 22:02, Tom Goddard wrote:
> Hi Yiannis,
>
> I made the volume fit list copy selected items to the clipboard using standard keyboard shortcut (e.g. Command-C on Mac). So you can copy and paste the list in tomorrow's daily build (not in ChimeraX 1.4). I only tested on Mac but expect Ctrl-C to copy on Windows or Linux. The Qt window toolkit is handling this.
>
> Tom
>
>
>> On May 24, 2022, at 12:03 PM, Tom Goddard via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
>>
>> 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
>>>
>>
>> _______________________________________________
>> ChimeraX-users mailing list
>> ChimeraX-users at cgl.ucsf.edu
>> Manage subscription:
>> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
>>
--
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/
More information about the ChimeraX-users
mailing list