[PyMOL] FW: Names of objects in GUI in pymol

2021-02-22 Thread Ali Saad Kusay
Resending since I forgot to copy the PyMOL mailing list On 23/2/21, 7:17 am, "Ali Saad Kusay" wrote: Hi Jeff, There is several ways you can do this with string function in python https://www.w3schools.com/python/python_ref_string.asp. This is an easy one liner which replace

[PyMOL] Names of objects in GUI in pymol

2021-02-22 Thread Jeff Saxon
Dear Pymol Users, I am looking for a possibility to display names of the objects in the pymol session. For example I loaded 4 objects corresponded to 2 different positions of the same ligand as well as 2 positions of its centres of masses. How would it be possible to display the names of each of

Re: [PyMOL] Names of objects in GUI in pymol

2021-02-22 Thread Jeff Saxon
pardon, just one additional question, which might be alitle bit custom issue, however.. Imagine, that I have 2 groups of the pdbs objects loaded into same pymol session: 2 pdbs with the prefix COG_*.pdb, and 2 pdbs with the prefix AA_*.pdb. Would it be possible to subtract the both prefixes from

Re: [PyMOL] Names of objects in GUI in pymol

2021-02-22 Thread Ali Saad Kusay
No worries Jeff, Use editing mode and you can move it with mouse. See around 3:30 in this video, https://m.youtube.com/watch?v=yBFzJ3ql4qU_channel=MolecularMemory. You can move all labels with this command: set label_position (x,y,z) This will move the labels as needed in the x, y and z

Re: [PyMOL] Names of objects in GUI in pymol

2021-02-22 Thread Ali Saad Kusay
Hi Jeff, The name of an object is stored in the model attribute. Select an atom in the object and use this command: label sele, model If you want to automate this over all your PyMOL objects, you can use this script, this will put a label at the centre of each object but it has to create a

Re: [PyMOL] Names of objects in GUI in pymol

2021-02-22 Thread Jeff Saxon
Thank you, Ali! One question - is there any command which would allow to change position of the text of the label produced by the label sele, model ? In fact as I noticed, it produces correctly label text just above the object, while I need to move it a litle bit in one of the directions ...

[PyMOL] Virtual Annual CCP4/APS Crystallographic School (2021) in the US

2021-02-22 Thread Xu, Qingping via PyMOL-users
Dear Colleagues, We are pleased to announce the virtual annual CCP4/APS crystallographic school "From data collection to structure refinement and beyond" will be held on June 14-25, 2021 at the Advanced Photon Source (APS), Argonne National Laboratory (ANL), near Chicago, Illinois, USA. All