Package gui :: Package user_functions :: Module mol_res_spin :: Class Mol_res_spin
[hide private]
[frames] | no frames]

Class Mol_res_spin

source code


The molecule, residue, spin base class.

Instance Methods [hide private]
str
_get_res_id(self, suffix='')
Generate the residue ID from the residue selection.
source code
int, str
_get_res_info(self, suffix='')
Extract the residue info from the residue selection.
source code
str
_get_spin_id(self, suffix='')
Generate the spin ID from the molecule, residue, and spin selection.
source code
int, str
_get_spin_info(self, suffix='')
Extract the spin info from the spin selection.
source code
 
_update_residues(self, event)
Update the residue combo box self.res.
source code
 
_update_spins(self, event)
Update the spin combo box self.spin.
source code
Method Details [hide private]

_get_res_id(self, suffix='')

source code 

Generate the residue ID from the residue selection.

Parameters:
  • suffix (str) - The suffix to be added to the residue data structure name.
Returns: str
The residue ID string.

_get_res_info(self, suffix='')

source code 

Extract the residue info from the residue selection.

Parameters:
  • suffix (str) - The suffix to be added to the residue data structure name.
Returns: int, str
The residue number and name from the residue selection self.res.

_get_spin_id(self, suffix='')

source code 

Generate the spin ID from the molecule, residue, and spin selection.

Parameters:
  • suffix (str) - The suffix to be added to the spin data structure name.
Returns: str
The spin ID string.

_get_spin_info(self, suffix='')

source code 

Extract the spin info from the spin selection.

Parameters:
  • suffix (str) - The suffix to be added to the spin data structure name.
Returns: int, str
The spin number and name from the spin selection self.spin.

_update_residues(self, event)

source code 

Update the residue combo box self.res.

Parameters:
  • event (wx event) - The wx event.

_update_spins(self, event)

source code 

Update the spin combo box self.spin.

Parameters:
  • event (wx event) - The wx event.