Module dep_check
source code
Module for checking relax dependencies.
If essential dependencies are missing, then an error message is
printed and the program terminated.
|
|
min_version = '1.0.11'
|
|
|
bmrblib_module = True
|
|
|
wx_classic = True
|
|
|
wx_stable = True
|
|
|
wx_module = True
|
|
|
wx_module_message = message.args [0]
|
|
|
epydoc_module = True
|
|
|
readline_module = True
|
|
|
matplotlib_module = True
|
|
|
runpy_module = True
|
|
|
profile_module = True
|
|
|
cprofile_module = True
|
|
|
bz2_module = True
|
|
|
bz2_module_message = message.args [0]
|
|
|
gzip_module = True
|
|
|
gzip_module_message = message.args [0]
|
|
|
io_module = True
|
|
|
io_module_message = message.args [0]
|
|
|
scipy_module = True
|
|
|
vmd_module = False
|
|
|
mpi4py_module = True
|
|
|
mpi4py_message = """The dependency 'mpi4py' has not been insta...
|
|
|
pymol_module = False
|
|
|
xml_module = True
|
|
|
xml_version = '0.8.4'
|
|
|
xml_type = 'internal'
|
|
|
subprocess_module = True
|
|
|
subprocess_module_message = message.args [0]
|
|
|
Temp = subprocess.Popen('showApod', stdout= subprocess.PIPE)
|
|
|
return_value = 1
|
|
|
line_split = ['showApod: Show Effect of Processing on Noise an...
|
|
|
line = u'showApod: Show Effect of Processing on Noise and Line...
|
|
|
showApod_software = True
|
|
|
ctypes_module = True
|
|
|
ctypes_module_message = message.args [0]
|
|
|
ctypes_structure_module = True
|
|
|
ctypes_structure_module_message = message.args [0]
|
|
|
system = 'Linux'
|
|
|
file = 'relax_fit.so'
|
|
|
message = ImportError('target_functions/relax_fit.so: undefine...
|
|
|
C_module_exp_fn_mesg = 'ImportError: ImportError(\'target_func...
|
|
|
C_module_exp_fn = False
|
|
|
__package__ = None
|
|
|
errput = None
|
|
|
output = 'showApod: Show Effect of Processing on Noise and Lin...
|
Imports:
platform,
F_OK,
access,
environ,
sep,
sub,
sys,
numpy,
optparse,
minfx,
bmrblib,
wx,
epydoc,
os,
readline,
matplotlib,
runpy,
profile,
cProfile,
bz2,
gzip,
io,
scipy,
mpi4py,
pymol,
xml,
subprocess,
ctypes,
Structure,
relax_fit
|
Compare software versions.
This will return:
-
When version 1 is older, -1,
-
When both versions are equal, 0,
-
When version 1 is newer, 1.
- Parameters:
version1 (str) - The first version number.
version2 (str) - The second version number.
- Returns: int
- The comparison result of the Python cmp() function applied to two
lists of integers. This will be one of [-1, 0, 1].
|
mpi4py_message
- Value:
"""The dependency 'mpi4py' has not been installed. You should either:
1. Run without multiprocessor support i.e. remove the --multi mpi4py f
lag from the command line.
2. Install mpi4py.
3. Choose another multi processor method to give to the --multi comman
...
|
|
line_split
- Value:
['showApod: Show Effect of Processing on Noise and Linewidth.',
' -in inName [None] Input Name or Template (Required).',
' -axis aList [None] Name List of Axis to Analyze.',
' -sigma [0.0] Std Dev of Noise in Processed Data.',
' (Use 0 for Automated Estimate).',
' -verb Verbose mode ON (Default).',
' -noverb Verbose mode Off.',
'Parameters for Noise Analysis:',
...
|
|
line
- Value:
u'showApod: Show Effect of Processing on Noise and Linewidth.'
|
|
message
- Value:
ImportError('target_functions/relax_fit.so: undefined symbol: PyModule
_Create2',)
|
|
C_module_exp_fn_mesg
- Value:
'''ImportError: ImportError(\'target_functions/relax_fit.so: undefined
symbol: PyModule_Create2\',)
Relaxation curve fitting is unavailable, try compiling the C modules.'
''
|
|
output
- Value:
'''showApod: Show Effect of Processing on Noise and Linewidth.
-in inName [None] Input Name or Template (Required).
-axis aList [None] Name List of Axis to Analyze.
-sigma [0.0] Std Dev of Noise in Processed Data.
(Use 0 for Automated Estimate).
-verb Verbose mode ON (Default).
-noverb Verbose mode Off.
Parameters for Noise Analysis:
...
|
|