Skip to content

Downloading should not be based on PRO.CATG, but on the class name so you can search for any data product, also RAW or static calibrations #8

@hugobuddel

Description

@hugobuddel

Currently it is possible only possible to do these two queries:

        if pro_catg:
            results = (Pro.pro_catg == pro_catg)
        else:
            results = DataItem.select_all()

but that doesn't make much sense. If you query on a pro_catg, say LINEARITY_2RG, then you should do:

results = LINEARITY_2RG.select_all()

because then you can also query for raws etc, like

results = IFU_SCI_RAW.select_all()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions