Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jl-wynen opened this issue Aug 27, 2024 · 0 comments
Open

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

jl-wynen opened this issue Aug 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jl-wynen
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant