If you have the molecules "mol01" and "mol02" open, you can type "mol_list
= cmd.get_names()" to get the list of molecules put into the variable
mol_list: ['mol01' ,'mol02'].
Now let's say you've got those two molecules open and you've made some
selections within those two molecules. The GL window will then have a
list of objects like: "mol01", "mol02", "pk1", "pkmol", "pkresi", ...
"sel01", "sel02". Does anyone know of a command analogous to
cmd.get_names() that will return this list of objects from the GL window.
( cmd.get_names() still returns only ['mol01', 'mol02'] )
Get latest updates about Open Source Projects, Conferences and News.