augur traits does not export mugration models into the same output directory as traits JSON #541
Labels
bug
Something isn't working
easy problem
Requires less work than most issues
good first issue
A relatively isolated issue appropriate for first-time contributors
please take this issue
Extra attention is needed
priority: low
To be resolved after high and moderate priority issues
Current Behavior
Running augur traits as follows outputs
treecountry.mugration_model.txt
andtreeregion.mugration_model.txt
files in theexpected/
subdirectory instead of the same directory where thetraits.json
is written out.This issue results from using the input tree's name as an output prefix for the mugration models instead of the output prefix for the traits file itself.
Expected behavior
All implicit outputs from an augur command should be written to the same directory as the explicit output(s) unless there are explicit options to do otherwise (e.g., a mugration model output prefix).
Possible solution
Determine the full output path of the traits JSON prior to outputting the mugration models and use the prefix of this output path instead of the tree's prefix.
The text was updated successfully, but these errors were encountered: