So plotpeaks.sh is quite a large script with a lot of functionality. I initially packaged peakplotter around this script because it would take a lot of time to disassemble plotpeaks.sh and transfer all it's functionality to python code.
We want to transfer to python because:
Exit code other than 0 in bash does not stop the run
Can't write tests for bash, but can with Python
For problem 1, I guess we could switch the plotpeaks.sh execution with bash strict mode for the time being, but this isn't really a solution. Just a workaround while we work on the transfer.
We also need to preserve the functionality where plotpeaks.sh accepts comma-separated bfiles. This was implemented to allow peakplotter to run on meta-analysis association files.
So
plotpeaks.sh
is quite a large script with a lot of functionality. I initially packaged peakplotter around this script because it would take a lot of time to disassembleplotpeaks.sh
and transfer all it's functionality to python code.We want to transfer to python because:
For problem 1, I guess we could switch the
plotpeaks.sh
execution with bash strict mode for the time being, but this isn't really a solution. Just a workaround while we work on the transfer.