-
As Python3 replaces the print statement by a print() function, the previous code was not compatible with Python3. We thus replaced all print statements by calls to sys.stdout.write() so that the code works both for Python2 and Python3.
-
Using the clang compiler, the ctools and gammalib libraries were not found. Adding the paths helps.
-
On Mac OS X, the /bin/sh shell has a builtin echo command that does not recognize the -n option for linefeed supression. To keep the test script portable, the script now uses the echo command installed on the machine (usually in /bin/echo). The which function is used to make sure that the echo command is correctly located.
-
On FreeBSD, bash is not installed by default, and when it is installed using ports, it is in /usr/local/bin. Using /bin/bash as script directive thus fails to execute the script. Using /bin/sh instead works.
-
The method parameter has been removed, and an infile parameter has been introduced instead of the old evfile and cntmap parameters.
-
The method parameter has been removed, and an infile parameter has been introduced instead of the old evfile and cntmap parameters.