Closed rminsil closed 2 months ago
SIL_NLP_ENV.mt_corpora_dir
is already aPath
, so you should be able to do:
output_dir = SIL_NLP_ENV.mt_corpora_dir / unique_dir
Thanks for the tip @ddaspit, there's some newfangled things added to python since I last used it.
I've updated my PR.
This PR addresses one point raised in the code review feedback from Damien from this comment:
https://github.com/sillsdev/silnlp/pull/491#pullrequestreview-2261754354
I wasn't clear on the directory structure to use within the corpora dir, so I kept the existing logic of generating a unique folder based on the cli inputs + timestamp.
Note that this PR is built off the back of https://github.com/sillsdev/silnlp/pull/506. When that one is merged I'll rebase this one and have it target
master
.Once this PR is merged, all code review comments from #491 are addressed and balance is returned to the force.
This change is