willpearse/phyloGenerator — pull request #19 by rossmounce (2013-03-26 20:31:59+00:00)
Title: output directory must already pre-exist

If 'foo' directory doesn't exist and you specify 'foo' here you get an error later on...

DNA Editing (delete): output
Traceback (most recent call last):
File "./phyloGenerator.py", line 3790, in
main()
File "./phyloGenerator.py", line 3736, in main
currentState.dnaEditing()
File "./phyloGenerator.py", line 2691, in dnaEditing
mode, firstTime = deleteMode(firstTime)
File "./phyloGenerator.py", line 2183, in deleteMode
os.chdir(self.workingDirectory)
OSError: [Errno 2] No such file or directory: 'foo'