glygener / glygen-issues

Repository for public GlyGen tickets
GNU General Public License v3.0
0 stars 0 forks source link

Incorrect glycan error message - G85526ZL #1555

Closed ReneRanzinger closed 2 weeks ago

ReneRanzinger commented 2 months ago

Related to ticket #1551. GlyTouCan ID G85526ZL is valid in GlyTouCan but was removed in GlyGen (@ubhuiyan confirmed that). The error message on the GlyGen page says:

Screenshot 2024-07-10 at 2 37 22 PM

There are several problems:

sujeetvkulkarni commented 2 months ago

Will update display response for discontinued_in_glygen type. We dont have version or history in this case though as per #71.

Current api response is below. https://api.glygen.org/glycan/detail/G85526ZL/

{
  "error_list": [
    {
      "error_code": "non-existent-record"
    }
  ],
  "reason": {
    "type": "discontinued_in_glygen",
    "description": "GlyTouCan accession discontinued in GlyGen"
  }
}
sujeetvkulkarni commented 1 month ago

@rykahsay Can you please add version when the id was discontinued in the description.

rykahsay commented 2 weeks ago
image