svn+ssh://bugman@.../svn/relax/trunk
........
r26667 | bugman | 2014-11-20 15:58:14 +0100 (Thu, 20 Nov 2014) | 9 lines
Big Python 3 bug fix for the dep_check module for the detection of the NMRPipe showApod software.
The showApod program was falsely detected as always not being present when using Python 3. This is
because the output of the program was being tested using string comparisons. However the output
from programs obtained from the subprocess module is no longer strings but rather byte-arrays in
Python 3. Therefore the byte-array is not being converted to text if Python 3 is being used,
allowing the showApod software to be detected.
........
r26670 | bugman | 2014-11-20 16:39:20 +0100 (Thu, 20 Nov 2014) | 6 lines
Python 3 bug fix for the lib.spectrum.nmrpipe.show_apod_extract() function.
The subprocess module output from the showApod program, or any software, is a byte array in Python 3
rather than text. This is now detected and the byte array converted to text before any processing.
........