Open huaiyumi opened 6 years ago
I opened this ticket. It is a question to the GO website, because it has a different list of organism that those in the PANTHER site.
@cmungall Please have someone in your group contact Dustin or Anushya about how to retrieve the list of organisms correctly from PANTHER so that they are consistent.
@lpalbou did you write the code that provides the list?
There were two tickets about the go site species dropdown list: https://github.com/geneontology/go-site/issues/963 and https://github.com/geneontology/go-site/issues/966.
I used Anushya API call to get the current list of PANTHER species and updated the HTML page accordingly (Seth original list was static, so I just updated the species name & links). There should be no difference today between PANTHER species and those shown in this dropdown list, except if they have been updated in the past few days.
But this is indeed not an automated approach and I thought those species only changed once a year for PANTHER release. If it changes every month, the site must do an API call to fetch the list and populate the dropdown list every time it loads. @huaiyumi @cmungall please confirm that's what you want ?
Note that as discussed, I would prefer to avoid any dynamic data / UI manipulation on a site without framework.
Between each release, PANTHER add/delete genomes for various reasons. In our next release, 18 more plant genomes will be added. Currently the drop-down menu contains the list of organisms from PANTHER12 while the current release is v.13.1. We need to work out a way to keep them consistent. The easiest is probably to retrieve the list from our database through webservice.