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

ancestral: Accept files to --genes #1353

Merged
merged 7 commits into from
Dec 28, 2023
Merged

ancestral: Accept files to --genes #1353

merged 7 commits into from
Dec 28, 2023

Conversation

victorlin
Copy link
Member

@victorlin victorlin commented Dec 8, 2023

Description of proposed changes

Implements a feature claimed by help output, rearranging some code along the way.

Related issue(s)

Checklist

  • Checks pass
  • If making user-facing changes, add a message in CHANGES.md summarizing the changes in this PR

@victorlin victorlin self-assigned this Dec 8, 2023
@victorlin victorlin force-pushed the victorlin/genes-file branch 3 times, most recently from fe247f8 to f59f180 Compare December 9, 2023 00:28
@victorlin victorlin requested a review from a team December 9, 2023 00:56
augur/utils.py Outdated Show resolved Hide resolved
augur/utils.py Outdated Show resolved Hide resolved
@victorlin victorlin force-pushed the victorlin/genes-file branch 2 times, most recently from a60f1a6 to 939d2cb Compare December 11, 2023 22:16
@victorlin victorlin changed the base branch from master to victorlin/deprecated-file December 20, 2023 19:37
@victorlin victorlin force-pushed the victorlin/genes-file branch 2 times, most recently from 01f9b69 to bf7a17a Compare December 20, 2023 20:26
Copy link

codecov bot commented Dec 20, 2023

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (fe9605a) 66.23% compared to head (03f27ca) 66.23%.

Files Patch % Lines
augur/utils.py 73.07% 5 Missing and 2 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1353   +/-   ##
=======================================
  Coverage   66.23%   66.23%           
=======================================
  Files          68       69    +1     
  Lines        7238     7248   +10     
  Branches     1780     1778    -2     
=======================================
+ Hits         4794     4801    +7     
- Misses       2176     2179    +3     
  Partials      268      268           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Base automatically changed from victorlin/deprecated-file to master December 20, 2023 22:45
victorlin and others added 7 commits December 28, 2023 14:25
This can be used in other contexts where newline-delimited entries from
a text file are useful.
Previously, the help text for --genes falsely claimed that it could
accept a file. Now, it can truly claim that.

Move the file parsing functions to utils.
@victorlin victorlin merged commit 4ab823d into master Dec 28, 2023
24 checks passed
@victorlin victorlin deleted the victorlin/genes-file branch December 28, 2023 22:40
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.

ancestral: --genes does not accept file in contrast to --help string
3 participants