tair / toastdos-back

The back-end system for the GOAT community annotation tool
GNU General Public License v3.0
7 stars 0 forks source link

Curation page with multiple genes shows wrong gene #348

Closed JKingSE closed 5 years ago

JKingSE commented 5 years ago

Description: For curations with multiple genes and multiple annotations, all annotations show their information auto-filled to the first gene whether or not they had different genes submitted. However going into the review page of the curation does show the correct gene.

Repro Steps:

  1. Go to Submission
  2. Enter Info: PMID = 27095837 Add Gene 1 = AT5G37820 Add Gene 2 = AT5G37810
  3. Add multiple annotations with at least one of them pointing at gene AT5G37810
  4. Fully submit the annotations
  5. Go to curation
  6. Click on the submission just made
  7. Look at the annotations, all of them will display the gene AT5G37820 even though at least one had AT5G37810 selected
  8. Click review changes, the relevant annotation will display AT5G37810 in the review page

This is a picture of the curation page for the submission curationIssueA

This is a picture of the review of the curation page above curationReviewA

lreiser commented 5 years ago

Confirmed this bug is fixed. @tberardini ... agreed? if so then close..

tberardini commented 5 years ago

Agreed.