from pipe_control.mol_res_spin import spin_loop
for spincurspin, mol_name, res_num, res_name, spin_id in spin_loop(full_info=True, return_id=True, skip_desel=True): print curspin.name, curspin.isotope, mol_name, res_num, res_name, spin_id
N 15N None 5 I :5@NN 15N None 6 S :6@NN 15N None 8 S :8@NN 15N None 9 A :9@NN 15N None 10 L :10@NN 15N None 11 Q :11@NN 15N None 12 D :12@NN 15N None 13 L :13@NN 15N None 14 L :14@NN 15N None 15 R :15@NN 15N None 16 T :16@NN 15N None 17 L :17@NN 15N None 18 K :18@NN 15N None 19 S :19@NN 15N None 21 S :21@NN 15N None 24 Q :24@NN 15N None 25 Q :25@NN 15N None 26 Q :26@NN 15N None 27 Q :27@NN 15N None 28 Q :28@NN 15N None 29 V :29@NN 15N None 30 L :30@NN 15N None 31 N :31@NN 15N None 32 I :32@NN 15N None 33 L :33@NN 15N None 34 K :34@NN 15N None 35 S :35@NN 15N None 36 N :36@NN 15N None 38 Q :38@NN 15N None 39 L :39@NN 15N None 40 M :40@NN 15N None 41 A :41@NN 15N None 42 A :42@NN 15N None 43 F :43@NN 15N None 44 I :44@NN 15N None 45 K :45@NN 15N None 46 Q :46@NN 15N None 48 T :48@NN 15N None 49 A :49@NN 15N None 50 K :50@NN 15N None 51 Y :51@NN 15N None 52 V :52@NN 15N None 53 A :53@NN 15N None 54 N :54@NN 15N None 55 Q :55@NN 15N None 57 G :57@NN 15N None 58 M :58@NN 15N None 59 Q :59@N
</source>
== Example ==
deselect.spin(spin_id=':5@N', change_all=False)