Closed jasonsydes closed 6 years ago
Thanks!
Sure thing! Thank you for Progressive Cactus!
Jason
On Sat, Mar 10, 2018 at 1:02 PM, Joel Armstrong notifications@github.com wrote:
Thanks!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/glennhickey/progressiveCactus/pull/105#issuecomment-372066520, or mute the thread https://github.com/notifications/unsubscribe-auth/AALJrqSiUsUCoJYS7rKDw7PHWCKLi7hmks5tdD9ngaJpZM4Sk4da .
This is a fix for #104, #16, #51, and addresses one of the comments in #38. This pull request should help many other people be able to resume their jobs. In short, it allows for resuming a job when the job was submitted with a leading "./" on the working directory.
The example on the README page is what is tripping everyone up.
When you try to restart a job that was submitted like this:
bin/runProgressiveCactus.sh examples/blanchette00.txt ./work ./work/b00.hal
then the replace() call here: can't
newLine.replace(tempPath, oldPath)
can't do its job. It's trying to replace "./work" inside of
/some/long/path/to/work/progressiveAlignment_temp/Anc0/Anc0_experiment.xml
This commit just removes the leading "./" from those paths if they exist, allowing the job to resume correctly.