Open main menu

Changes

f = open(cluster_file, 'r')
for line in f:
if line[0] == "#": continue else: spinid = line.split(";")[0].strip() spinmodel = line.split(";")[1].strip()  # Deselect those spins not showing exchange for further analysis. if spinmodel == "No Rex": deselect.spin(spin_id=spinid, change_all=False) else: relax_disp.cluster('model_cluster', "%s"%spinid)
f.close()
print cdp.clustering
# We now going to deselect Check for selected/deselected spins, which are not clustered.# We use the same file before, and then reverse the selection.deselect.read('cluster_residues.txt', spin_id_col=1, change_all=True)deselect.reverse() # Check for Selected
from pipe_control.mol_res_spin import spin_loop
for spin, spin_id in spin_loop(return_id=True, skip_desel=False):
Trusted, Bureaucrats
1,382

edits