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

Source Code for Module generic_fns.main

 1  ############################################################################### 
 2  #                                                                             # 
 3  # Copyright (C) 2004 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 eliminate import Eliminate 
27  from fix import Fix 
28  from grace import Grace 
29  from intensity import Intensity 
30  from minimise import Minimise 
31  from model_selection import Model_selection 
32  from molmol import Molmol 
33  from monte_carlo import Monte_carlo 
34  from nuclei import Nuclei 
35  from palmer import Palmer 
36  from pdb import PDB 
37  from results import Results 
38  from runs import Runs 
39  from selection import Selection 
40  from sequence import Sequence 
41  from state import State 
42  from value import Value 
43  from vmd import Vmd 
44   
45   
46 -class Generic:
47 - def __init__(self, relax):
48 """Class containing all the generic functions.""" 49 50 # Place the program class structure under self.relax 51 self.relax = relax 52 53 # Set up all the classes. 54 self.angles = Angles(self.relax) 55 self.diffusion_tensor = Diffusion_tensor(self.relax) 56 self.eliminate = Eliminate(self.relax) 57 self.fix = Fix(self.relax) 58 self.grace = Grace(self.relax) 59 self.intensity = Intensity(self.relax) 60 self.minimise = Minimise(self.relax) 61 self.model_selection = Model_selection(self.relax) 62 self.molmol = Molmol(self.relax) 63 self.monte_carlo = Monte_carlo(self.relax) 64 self.nuclei = Nuclei(self.relax) 65 self.opendx = OpenDX(self.relax) 66 self.palmer = Palmer(self.relax) 67 self.pdb = PDB(self.relax) 68 self.results = Results(self.relax) 69 self.runs = Runs(self.relax) 70 self.selection = Selection(self.relax) 71 self.sequence = Sequence(self.relax) 72 self.state = State(self.relax) 73 self.value = Value(self.relax) 74 self.vmd = Vmd(self.relax)
75