Skip to content

Spool.select does not raise when a bad kwarg is entered as a coordinate  #435

@ahmadtourei

Description

@ahmadtourei

Description

Entering an incorrect coordinate as an argument in the select function does not raise an error, but it would be better if it did.

Example

import dascore as dc

spool = dc.get_example_spool()
sub_spool = spool.select(invalid_dim=(1,11))

No error is raised.

Expected behavior

Versions

  • OS [e.g. Ubuntu 20.04]:
  • DasCore Version [e.g. 0.0.5]:
  • Python Version [e.g. 3.10]:

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