Package bmrblib :: Module nmr_star_dict_v3_2
[hide private]
[frames] | no frames]

Source Code for Module bmrblib.nmr_star_dict_v3_2

 1  ############################################################################# 
 2  #                                                                           # 
 3  # The BMRB library.                                                         # 
 4  #                                                                           # 
 5  # Copyright (C) 2009 Edward d'Auvergne                                      # 
 6  #                                                                           # 
 7  # This program is free software: you can redistribute it and/or modify      # 
 8  # it under the terms of the GNU General Public License as published by      # 
 9  # the Free Software Foundation, either version 3 of the License, or         # 
10  # (at your option) any later version.                                       # 
11  #                                                                           # 
12  # This program is distributed in the hope that it will be useful,           # 
13  # but WITHOUT ANY WARRANTY; without even the implied warranty of            # 
14  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             # 
15  # GNU General Public License for more details.                              # 
16  #                                                                           # 
17  # You should have received a copy of the GNU General Public License         # 
18  # along with this program.  If not, see <http://www.gnu.org/licenses/>.     # 
19  #                                                                           # 
20  ############################################################################# 
21   
22  # Module docstring. 
23  """The NMR-STAR dictionary API for version 3.2. 
24   
25  The v3.2 NMR-STAR dictionary is documented at 
26  http://www.bmrb.wisc.edu/dictionary/3.2html/SuperGroupPage.html. 
27  """ 
28   
29  # relax module imports. 
30  from bmrblib.assembly_supercategory.entity_v3_1 import EntitySaveframe_v3_1 
31  from bmrblib.citations.citations import CitationsSaveframe 
32  from bmrblib.experimental_details.method import MethodSaveframe 
33  from bmrblib.experimental_details.software import SoftwareSaveframe 
34  from bmrblib.kinetics.relaxation import Relaxation_v3_2 
35  from bmrblib.NMR_parameters.chem_shift_anisotropy_v3_1 import ChemShiftAnisotropySaveframe_v3_1 
36  from bmrblib.thermodynamics.model_free_v3_2 import ModelFreeSaveframe_v3_2 
37  from bmrblib.nmr_star_dict import NMR_STAR 
38   
39   
40 -class NMR_STAR_v3_2(NMR_STAR):
41 """The v3.2 NMR-STAR dictionary.""" 42 43 # Class extension string. 44 ext = '' 45 46
47 - def create_saveframes(self):
48 """Create all the saveframe objects.""" 49 50 # Initialise Supergroup 2: The citations. 51 self.citations = CitationsSaveframe(self.data.datanodes) 52 53 # Initialise Supergroup 3: The molecular assembly saveframe API. 54 self.entity = EntitySaveframe_v3_1(self.data.datanodes) 55 56 # Initialise Supergroup 4: The experimental descriptions saveframe API. 57 self.method = MethodSaveframe(self.data.datanodes) 58 self.software = SoftwareSaveframe(self.data.datanodes) 59 60 # Initialise Supergroup 5: The NMR parameters saveframe API. 61 self.chem_shift_anisotropy = ChemShiftAnisotropySaveframe_v3_1(self.data.datanodes) 62 63 # Initialise Supergroup 6: The kinetic data saveframe API. 64 self.relaxation = Relaxation_v3_2(self.data.datanodes) 65 66 # Initialise Supergroup 7: The thermodynamics saveframe API. 67 self.model_free = ModelFreeSaveframe_v3_2(self.data.datanodes)
68