Skip to content

Scicat returns empty lists for list fields that were not set #226

Open
@jl-wynen

Description

@jl-wynen

E.g., for a raw dataset, it returns

inputDatasets = []
usedSoftware = []

Neither are allowed to be set for raw datasets.

Scitacean flags this as an error (in the HTML repr and Dataset.make_upload_model). If this is intended behaviour of Scicat, we need to treat empty lists as None.

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