SpeciesFileGroup / taxonworks

Workbench for biodiversity informatics.
http://taxonworks.org
MIT License
87 stars 26 forks source link

Task - Browse OTU - in the list of citations asserted distribution is always displayed as attached to the valid TaxonName OTU #1846

Open proceps opened 4 years ago

proceps commented 4 years ago

Not sure if this bug or not. In 3i databae (production) https://sfg.taxonworks.org/tasks/nomenclature/browse?taxon_name_id=366803 When I open asserted distribution in Browse TN (OTU radial). I have for geographic_areas. Each with one citation image When I open the same in OTU radial. I have much more geographic areas. Some areas with multiple citations (not sure, but some of those look like duplicate records): https://sfg.taxonworks.org/tasks/otus/browse/36540 image When I click Expand link: I am limited to 4 geographic ares again: image

jlpereira commented 4 years ago

@mjy This seems to be a related with coordinate endpoint. The response contains 4 OTUs. What we should do here? merge the list?

mjy commented 4 years ago

@proceps Do you have records tied to synonyms?

proceps commented 4 years ago

Yes, I partially fooled myself. Because I started with distribution, and could not find it in Browse TN. The records are comming from the synonyms, but those has incorrect labels in Browse OTU. image

All 3 synonyms has for some reason the same OTU label (should be different, correspoding to the synonym name). Probably would also be nice to have the OTU name in the distribution table.

mjy commented 4 years ago

Oops. This reminds me that I though somethign was off with that list.

I'm not sure the best way to show OTU name in the distribution table, this was the format requested by UCD folks. If we add OTU name then it doesn't get summarized by Geo area, and is a lot trickier to understand. Perhaps we need an option to pivot the table to be by OTU, or have an entirely different section.

proceps commented 4 years ago

No, not to make it speciefic, but to add an OTU name column

proceps commented 4 years ago

and there is another error, when I click Expand hyperlink, it is restricted to a single OTU...

proceps commented 4 years ago

Third poind, add an radial annotator to the distribution record in the table

mjy commented 4 years ago

You don't need radial annotator there, but rather on an OTU summary block, I mean if we have the OTU object radial you'll have access to all the individual records.

In general we could imagine thousands of annotors on this page- I think we have to be careful about just spamming them.

mjy commented 4 years ago

Good call- let's add the column, I was thinking this was the compiled summary I was working on, it's not.

proceps commented 4 years ago

"In general we could imagine thousands of annotors on this page- I think we have to be careful about just spamming them." I agree

proceps commented 6 months ago

@mjy, it is still an issue. it looks like the issue is with the endpoint. See an example in the 3i database https://sfg.taxonworks.org/tasks/otus/browse/36540 The timeline has 3 OTU citation. All three related to different synonym names, but in the Timeline, the synonym names associated with OTU are displayed as valid names. you can use the radial next to each OTU to verify that each of synonyms has a single citation.