Skip to content

[Feature] Selector for for latest version when many provided #279

@AlxEnashi

Description

@AlxEnashi

Is your feature request related to a problem? Please describe.
The database may have many values for a veature differenciated by version of the feature extractor (this may happen with classifications and magstats and corrections?)
The behaviour right now is not centralized and not completly clear.

Describe the solution you'd like
A consisten way to select the version tu use to display data musy be choosen.

Describe alternatives you've considered
Save a list with the different versions ordered by time or relevancy. If a query return many object return the one with the greates index in the list of versions. If not in the list, its always -1.
Note. the special case for lightcurve classifier and its features must be considered (exclude features version 23..

Additional context
This happen for example selecting the period for a lightcurve.
The object ZTF20aawwxkg have many periods calculated
image
The lightcurve uses 0.9980563820532297. Why?
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions