Skip to content

[ZTF] slsn scores are stored as float instead of double #1083

@JulienPeloton

Description

@JulienPeloton

The superluminous science returns double for the score, but we store it as float in the database... hence we have non-sense from the API:

In [15]: pd.read_json(io.BytesIO(resp.content))["d:slsn_score"]
Out[15]: 
0      :��h
1      :�kb
2      ��
3     -\rQ)
4      ,�$#
5      ��
6      ,�HY
7      ,L��
8      -�c
9      ��
10     ��
11     ��
12     ��
13     ��
14     ��
15     ��
16     ��
17     ��
18     ��
19     ��
20     ��
21     ��
22     ��
23     ��
24     ��
25     ��
26     ��
27     ��
28     ��
29     ��
30     ��
31     None
32     None
33     None
Name: d:slsn_score, dtype: object

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghbase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions