Beispiel #1
0
	def NDBColors(self):
		from chimera import selection
		if selection.currentEmpty():
			import Midas
			residues = Midas._selectedResidues('#')
		else:
			residues = selection.currentResidues()
		NA.NDBColors(residues)
Beispiel #2
0
def ndbcolor(sel='sel'):
	residues = Midas._selectedResidues(sel)
	NA.NDBColors(residues)
def ndbcolor(sel='sel'):
    residues = Midas._selectedResidues(sel)
    NA.NDBColors(residues)