Package generic_fns :: Module main
[hide private]
[frames] | no frames]

Source Code for Module generic_fns.main

 1  ############################################################################### 
 2  #                                                                             # 
 3  # Copyright (C) 2004-2005 Edward d'Auvergne                                   # 
 4  #                                                                             # 
 5  # This file is part of the program relax.                                     # 
 6  #                                                                             # 
 7  # relax 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 2 of the License, or           # 
10  # (at your option) any later version.                                         # 
11  #                                                                             # 
12  # relax 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 relax; if not, write to the Free Software                        # 
19  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   # 
20  #                                                                             # 
21  ############################################################################### 
22   
23  from angles import Angles 
24  from dx.opendx import OpenDX 
25  from diffusion_tensor import Diffusion_tensor 
26  from dasha import Dasha 
27  from eliminate import Eliminate 
28  from fix import Fix 
29  from grace import Grace 
30  from intensity import Intensity 
31  from minimise import Minimise 
32  from model_selection import Model_selection 
33  from molmol import Molmol 
34  from monte_carlo import Monte_carlo 
35  from nuclei import Nuclei 
36  from palmer import Palmer 
37  from pdb import PDB 
38  from results import Results 
39  from runs import Runs 
40  from selection import Selection 
41  from sequence import Sequence 
42  from state import State 
43  from value import Value 
44  from vmd import Vmd 
45   
46   
47 -class Generic:
48 - def __init__(self, relax):
49 """Class containing all the generic functions.""" 50 51 # Place the program class structure under self.relax 52 self.relax = relax 53 54 # Set up all the classes. 55 self.angles = Angles(self.relax) 56 self.dasha = Dasha(self.relax) 57 self.diffusion_tensor = Diffusion_tensor(self.relax) 58 self.eliminate = Eliminate(self.relax) 59 self.fix = Fix(self.relax) 60 self.grace = Grace(self.relax) 61 self.intensity = Intensity(self.relax) 62 self.minimise = Minimise(self.relax) 63 self.model_selection = Model_selection(self.relax) 64 self.molmol = Molmol(self.relax) 65 self.monte_carlo = Monte_carlo(self.relax) 66 self.nuclei = Nuclei(self.relax) 67 self.opendx = OpenDX(self.relax) 68 self.palmer = Palmer(self.relax) 69 self.pdb = PDB(self.relax) 70 self.results = Results(self.relax) 71 self.runs = Runs(self.relax) 72 self.selection = Selection(self.relax) 73 self.sequence = Sequence(self.relax) 74 self.state = State(self.relax) 75 self.value = Value(self.relax) 76 self.vmd = Vmd(self.relax)
77