Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for deprecated --output flag, now --output-node-data #529

Merged
merged 2 commits into from
Apr 7, 2020

Conversation

huddlej
Copy link
Contributor

@huddlej huddlej commented Apr 7, 2020

Description of proposed changes

Updates augur commands that previously included --output as an option for node
data outputs to only support the --output-node-data flag. However, a side
effect of how argparse infers arguments will actually prevent most users who
currently rely on --output from having to change most of their commands. The
augur ancestral command is the only exception.

This commit also updates end-to-end tests based on builds and documentation to
refer to the --output-node-data flag.

Related issue(s)

Related to #518

Testing

All tests pass after updating the output flags.

Updates augur commands that previously included `--output` as an option for node
data outputs to only support the `--output-node-data` flag. However, a side
effect of how argparse infers arguments will actually prevent most users who
currently rely on `--output` from having to change most of their commands. The
augur ancestral command is the only exception.

This commit also updates end-to-end tests based on builds and documentation to
refer to the `--output-node-data` flag.
@codecov
Copy link

codecov bot commented Apr 7, 2020

Codecov Report

Merging #529 into master will increase coverage by 0.02%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #529      +/-   ##
==========================================
+ Coverage   18.65%   18.68%   +0.02%     
==========================================
  Files          31       31              
  Lines        5061     5053       -8     
  Branches     1282     1281       -1     
==========================================
  Hits          944      944              
+ Misses       4090     4082       -8     
  Partials       27       27              
Impacted Files Coverage Δ
augur/ancestral.py 11.11% <ø> (+0.11%) ⬆️
augur/clades.py 11.34% <ø> (+0.11%) ⬆️
augur/sequence_traits.py 8.95% <ø> (+0.06%) ⬆️
augur/traits.py 7.96% <ø> (+0.06%) ⬆️
augur/translate.py 16.99% <ø> (+0.06%) ⬆️
augur/utils.py 23.07% <0.00%> (+0.16%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cc8b14f...06e1aa4. Read the comment docs.

@huddlej huddlej merged commit c319536 into master Apr 7, 2020
@huddlej huddlej deleted the force-output-node-data-flag branch April 7, 2020 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant