sc_bb_ind.py (pymol-v1.8.6.0.tar.bz2) | : | sc_bb_ind.py (pymol-v2.1.0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 120 | skipping to change at line 120 | |||
dict[chi[resn]['4']] = chi4 | dict[chi[resn]['4']] = chi4 | |||
list.append((freq,dict)) | list.append((freq,dict)) | |||
output[resn] = list | output[resn] = list | |||
# sort by priority | # sort by priority | |||
for resn in output: | for resn in output: | |||
list = output[resn] | list = output[resn] | |||
list.sort() | list.sort() | |||
list.reverse() | list.reverse() | |||
output[resn] = map(lambda x:x[1],list) | output[resn] = [x[1] for x in list] | |||
# common aliases | # common aliases | |||
#output['HIE'] = output['HIS'] | #output['HIE'] = output['HIS'] | |||
#output['HID'] = output['HIS'] | #output['HID'] = output['HIS'] | |||
#output['HIP'] = output['HIS'] | #output['HIP'] = output['HIS'] | |||
#output['CYX'] = output['CYS'] | #output['CYX'] = output['CYS'] | |||
io.pkl.toFile(output,"sc_bb_ind.pkl") | io.pkl.toFile(output,"sc_bb_ind.pkl") | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |