test_hetrodyne_pulsar.sh fails due to hardcoded python interpreter
The make_frame_cache
script has /usr/bin/python
hardcoded as the intrepreter, on various systems there is no /usr/bin/python
available (for example on a platform were all dependencies are installed with Conda) so this test fails with:
./test_heterodyne_pulsar.sh: ./make_frame_cache: /usr/bin/python: bad interpreter: No such file or directory
Could not create the cache file!
FAIL test_heterodyne_pulsar.sh (exit status: 2)
If I replace this the interpreter with #!/usr/bin/env python
then the script fails due to some Python3 incompatibilities in the script:
FAIL: test_heterodyne_pulsar.sh
===============================
File "./make_frame_cache", line 70
except Exception, e:
^
SyntaxError: invalid syntax
Can these incompatibilities be fixed and the correct interpreter used.