Skip to content

--assembly-version does not filter on assembly status #576

@jo-delia-faraguna

Description

@jo-delia-faraguna

Before opening an issue, please:

  • Make sure you are using the latest version using datasets --version
  • Review our documentation

Describe the bug
Non-current assemblies are returned regardless of --assembly-version flag for datasets summary genome taxon.

Indicate what operating system you're using
Linux

To Reproduce

datasets summary genome taxon 3052470 | grep assembly_status
datasets summary genome taxon --assembly-version latest 3052470 | grep assembly_status
datasets summary genome taxon --assembly-version current 3052470 | grep assembly_status

Expected behavior
I would expect --assembly-version latest/current (depending on which is the correct value to use here) to filter out those entries marked with "assembly_status":"previous"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions