Skip to content

Disallow "mixed" inputs of an obsid + kwargs that uses mica.starcheck database #267

@taldcroft

Description

@taldcroft

From #256 (comment)

Change the API to disallow the "mixed" inputs case. Basically you can only get the mica.starcheck backend if only obsid is provided. If any other args are provided then it doesn't go that route. That makes it slightly harder in our development end but is then quite safe. I can make a helper function that does what the current code would have done for a mixed "obsid + other kwargs" case, to make it easy to get the necessary kwargs for a subsequent call of get_aca_catalog(**kwargs).

Aiming for 4.4, but at a lower priority than other issues. This might break some notebooks or code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions