Menu

Commit [r26667]  Maximize  Restore  History

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.

bugman 2014-11-20

changed /trunk/dep_check.py
/trunk/dep_check.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.