django-daiquiri / daiquiri

A framework for the publication of scientific databases
https://escience.aip.de/daiquiri
Apache License 2.0
26 stars 8 forks source link

BUG: Arraysize metadata are lost at Upload #160

Open agy-why opened 1 year ago

agy-why commented 1 year ago

When uploading a VOTable the arraysize information are lost leading to subtile bugs down the line.

There is no reason to ignore this information.

Problem is here: https://github.com/django-daiquiri/daiquiri/blob/master/daiquiri/query/utils.py#L291

arraysize field is missing.

agy-why commented 1 year ago

This is not sufficient. The major issue here is that no metadata were generated for the upload table, so ucd and units are also ignores...

We need to add a method that update the metadata of the uploaded tables.

agy-why commented 1 year ago

Added arraysize and catch spoint. ucds and units would require much larger changes need its own issue: #163