Skip to content

Alternative boolean representation #257

@thermokarst

Description

@thermokarst

Improvement Description
Boolean params are rendered as --p-param / --p-no-param in this interface, but if a default value for the param is set, we render either True or False as the value, which might be a bit confusing when trying to reconcile the relationship with the flag form of the param. I propose replacing the default value with the flag itself.

Current Behavior

  --p-with-replacement / --p-no-with-replacement
                       Rarefy with replacement by sampling from the
                       multinomial distribution instead of rarefying without
                       replacement.                           [default: False]

Proposed Behavior

  --p-with-replacement / --p-no-with-replacement
                       Rarefy with replacement by sampling from the
                       multinomial distribution instead of rarefying without
                       replacement.         [default: --p-no-with-replacement]

References

  1. https://forum.qiime2.org/t/rarefy-table-with-without-replacement-default/19182

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions