Scripts: getcolors.py

File getcolors.py, 170 bytes (added by pett, 10 years ago)

print modelcolor command equivalents

Line 
1from chimera import openModels, Molecule
2from CGLtk.color import rgba2tk
3for m in openModels.list(modelTypes=[Molecule]):
4 print "modelcolor", rgba2tk(m.color.rgba()), m