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

Allow customization of input metadata delimiter #1196

Merged
merged 5 commits into from
Apr 12, 2023

Commits on Apr 12, 2023

  1. Allow customization of input metadata delimiter

    Previously, there was hardcoded support for `,` and `\t`. Remove the hardcoding by:
    
    1. Making valid delimiters a required parameter to `read_metadata()`.
    2. In subcommands, adding a new flag `--metadata-valid-delimiters` with
       a default of the previously hardcoded delimiters, and passing that
       list into `read_metadata()`.
    victorlin committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    55f0d87 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1ac4649 View commit details
    Browse the repository at this point in the history
  3. filter: Remove example ID columns from help text

    These examples are already shown in the help text with the default
    value.
    victorlin committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    900e43f View commit details
    Browse the repository at this point in the history
  4. Clarify single-value inference of some options

    The previous wording of these option descriptions did not rule out using
    multiple values at once. This change makes it clear that only one value
    is inferred.
    victorlin committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    4e960ed View commit details
    Browse the repository at this point in the history
  5. filter: Clarify behavior of --metadata-id-columns

    Copy useful wording from the corresponding parameter description in
    augur.io.metadata.read_metadata().
    victorlin committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    c0a9ddb View commit details
    Browse the repository at this point in the history