research-software-ecosystem / research-software-ecosystem/content

Remove EDAM term labels before upload in runbiotools

Open
#439 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
48
Forks
35
Avg merge
19m
Merged PRs (30d)
887

Description

Should remove them because outdated term labels create errors, e.g.:

    "topic": [
        {
            "term": "Immunoproteins, genes and antigens",
            "uri": "http://edamontology.org/topic_2830"
        },

For this term the label in the latest version of EDAM has changed, creating an error when we upload the tool:

ERROR:root:error while uploading ../content/data/swehla/swehla.biotools.json (status 400): {"topic":[{"general_errors":["The term does not match the URI: Immunoproteins, genes and antigens, http://edamontology.org/topic_2830."]},{},{},{}]}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the runbiotools upload path and inspect the sample ../content/data/swehla/swehla.biotools.json, focusing on its EDAM term labels. Reproduce the upload error and verify that the tool uploads without the URI/label mismatch.

Written by the indexing model from the issue text.

Assessment

Domain
content
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.