icecube / NuCat

https://nucat.icecube.aq/app
0 stars 2 forks source link

fix polygon - candidate takes 1st info's json #13

Closed ChujieChen closed 3 years ago

ChujieChen commented 3 years ago

It turns out we had the sufficient candidate model - there is always a json field. Now if the first info created with a json, the candidate will also have that json. However, if the json is not in the first info but in a later info related to this candidate, the json would not automatically go into that candidate. This works as planed - the latest info might not be the recommended info.

However, in the future, we might want to implement a quick way to update the candidate. We shall provide two ways to update one candidate: 1. overwrite the entire candidate (already implemented); 2. overlay the candidate with additional fields (TODO).