fritz-marshal/fritz

Filter/sort (remove irrelevant) annotation origin list.

Closed this issue · 5 comments

Feature Summary
When scanning for candidates, if you want to filter/sort by any annotation in the drop-down lists, there is a long list of mainly sedm/SN1ascore auto annotations so it is difficult to find the relevant annotation origin.

Usage / behavior
Since these seem specific to individual sources due to the subsequent spc notes, either do not show all as default or provide a way to filter these.

Alternative Solutions
Saving different filter setups so you only need to use this drop-down once.

Additional context
Screen Shot 2021-09-15 at 10 01 53 am

Thanks @jamiesoon!

I suggest filtering out entries with origin in ("sedm", "SNIascore"). @acrellin should we do this on the front-end or the back-end, what do you think? In either case, this is ZTF-specific, so belongs in this repo.

This will be relieved significantly once spectrum annotations are implemented (PR #2161). These origins were required to associate them with individual spectra. I plan to convert all these individual origins to two or three (SNIascore, sedm, SNID?) in total, which will reduce the total number of origins from thousands to tens.

I will update this issue after the PR above is merged and deployed and after I have run a script that will convert all those origins.

@jamiesoon @scizen9 is this issue still relevant? Or has the problem been mostly resolved by moving the annotation unto the spectra?

Hi @guynir42,
From a user point of view, this has been mostly resolved as the list is much shorter now.
However, it looks like there are more different types of annotations now so potentially this issue may end up occurring again in the future.
At this point though, my issue has been solved so am happy to close.

Great. Let us know if you run into any trouble with this in the future.