Package user_functions :: Module wildcards
[hide private]
[frames] | no frames]

Source Code for Module user_functions.wildcards

 1  ############################################################################### 
 2  #                                                                             # 
 3  # Copyright (C) 2014 Edward d'Auvergne                                        # 
 4  #                                                                             # 
 5  # This file is part of the program relax (http://www.nmr-relax.com).          # 
 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  """Variables for the wxPython file selector wildcard filters.""" 
24   
25   
26  # Grace wildcards. 
27  WILDCARD_GRACE_ALL = \ 
28      "Grace files (*.agr)|*.agr;*.AGR|"+\ 
29      "Gzipped Grace files (*.agr.gz)|*.agr.gz;*.AGR.gz;*.AGR.GZ|"+\ 
30      "All files (*)|*" 
31   
32  # MOLMOL wildcards. 
33  WILDCARD_MOLMOL_MACRO = "Molmol macro files (*.pml)|*.pml;*.PML" 
34   
35  # PyMOL wildcards. 
36  WILDCARD_PYMOL_MACRO = "PyMOL macro files (*.pml)|*.pml;*.PML" 
37   
38  # relax script, results and save files. 
39  WILDCARD_RELAX_RESULT = \ 
40      "Bzipped relax results files (*.bz2)|*.bz2;*.BZ2|"+\ 
41      "Gzipped relax results files (*.gz)|*.gz;*.GZ|"+\ 
42      "Uncompressed relax results files (*)|*" 
43  WILDCARD_RELAX_SAVE = \ 
44      "Bzipped relax state files (*.bz2)|*.bz2;*.BZ2|"+\ 
45      "Gzipped relax state files (*.gz)|*.gz;*.GZ|"+\ 
46      "Uncompressed relax state files (*)|*" 
47  WILDCARD_RELAX_SCRIPT = "relax scripts (*.py)|*.py;*.PY" 
48   
49  # Spectral data. 
50  WILDCARD_SPECTRUM_PEAKLIST = \ 
51      "Sparky peak lists (*.list)|*.list;*.LIST|"+\ 
52      "XEasy peak lists (*.text)|*.text;*.TEXT|"+\ 
53      "NMRView peak lists (*.xpk)|*.xpk;*.XPK|"+\ 
54      "NMRPipe seriesTab peak lists (*.ser)|*.ser;*.SER|"+\ 
55      "All files (*)|*" 
56   
57  # 3D structure related wildcards. 
58  WILDCARD_STRUCT_GAUSSIAN_ALL = \ 
59      "Gaussian log files (*.log)|*.log;*.LOG|"+\ 
60      "Bzipped Gaussian log files (*.log.bz2)|*.log.bz2;*.LOG.bz2;*.LOG.BZ2|"+\ 
61      "Gzipped Gaussian log files (*.log.gz)|*.log.gz;*.LOG.gz;*.LOG.GZ|"+\ 
62      "All files (*)|*" 
63  WILDCARD_STRUCT_PDB = \ 
64      "PDB files (*.pdb)|*.pdb;*.PDB|"+\ 
65      "All files (*)|*" 
66  WILDCARD_STRUCT_PDB_ALL = \ 
67      "PDB files (*.pdb)|*.pdb;*.PDB|"+\ 
68      "Bzipped PDB files (*.pdb.bz2)|*.pdb.bz2;*.PDB.bz2;*.PDB.BZ2|"+\ 
69      "Gzipped PDB files (*.pdb.gz)|*.pdb.gz;*.PDB.gz;*.PDB.GZ|"+\ 
70      "All files (*)|*" 
71  WILDCARD_STRUCT_XYZ_ALL = \ 
72      "XYZ files (*.xyz)|*.xyz;*.XYZ|"+\ 
73      "Bzipped XYZ files (*.xyz.bz2)|*.xyz.bz2;*.XYZ.bz2;*.XYZ.BZ2|"+\ 
74      "Gzipped XYZ files (*.xyz.gz)|*.xyz.gz;*.XYZ.gz;*.XYZ.GZ|"+\ 
75      "All files (*)|*" 
76