Currently, relative paths that go up a directory level will not work properly, due to a couple wav_fn.split('.')s. I changed these in this PR to use the os.path.splitext function instead, so that ../path/to/file.wav works properly. Before, any file with ../ would lead to a Praat error -- unable to locate .pfmt file error.
Thanks for the feedback @MichaelGoodale. Can you provide an example on the command line that fails? There needs to be a corresponding test in the test suite that checks for this case with relative paths.
Currently, relative paths that go up a directory level will not work properly, due to a couple
wav_fn.split('.')
s. I changed these in this PR to use the os.path.splitext function instead, so that../path/to/file.wav
works properly. Before, any file with../
would lead to aPraat error -- unable to locate .pfmt file
error.