Changes

Jump to navigation Jump to search
# Open the '''relax prompt''' with '''Ctrl+p'''. And paste this is.
<source lang="python">
# Cluster file for selection residues.
cluster_file = "cluster_residues.txt"
 
# Cluster residues
f = open(cluster_file, 'r')
# Check for selected/deselected spins.
from pipe_control.mol_res_spin import spin_loop
for spin, spin_id in spin_loop(return_id=True, skip_desel=False):
print spin_id, spin.select
Trusted, Bureaucrats
1,382

edits

Navigation menu