nextstrain / augur

Pipeline components for real-time phylodynamic analysis
https://docs.nextstrain.org/projects/augur/
GNU Affero General Public License v3.0
268 stars 129 forks source link

merge: Omit generated source columns by default #1632

Closed tsibley closed 2 weeks ago

tsibley commented 2 weeks ago

Removes default naming template and requires users to explicitly provide their own template to include source columns. This makes the output from an augur merge invocation more self-documenting without columns "magically" appearing. In the expected context of usage within a workflow, the burden of the extra option is negligible. See also discussion on a prior PR.¹

¹ https://github.com/nextstrain/augur/pull/1625#issuecomment-2334501940

Checklist

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 71.06%. Comparing base (db54927) to head (67e756a).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1632 +/- ## ======================================= Coverage 71.06% 71.06% ======================================= Files 79 79 Lines 8268 8268 Branches 2010 2010 ======================================= Hits 5876 5876 Misses 2101 2101 Partials 291 291 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

tsibley commented 2 weeks ago

Once this is merged, I'd like to cut a new (major) Augur release and get it published everywhere so I can then merge https://github.com/nextstrain/measles/pull/52.

victorlin commented 2 weeks ago

Once this is merged, I'd like to cut a new (major) Augur release and get it published everywhere

If you end up doing this while I'm gone on lab retreat, could you also merge other breaking changes https://github.com/nextstrain/augur/pull/1613 and https://github.com/nextstrain/augur/pull/1629? Those have been approved and I just haven't gotten around to doing the actual release. The only thing is there will be changelog merge conflicts.