Uploaded image for project: 'NIF'
  1. NIF
  2. NIF-11589

trim whitespace before adding identifier prefixes

    XMLWordPrintable

Details

    • NIF
    • Issues closed as MONARCH has transitioned from UCSD services

    Description

      some sources have erroneous whitespace. when we add prefixes, if the whitespace isn't trimmed, we will have accidental whitespace in the identifier. for example:

      http://neuinfo.org/servicesv1/v1/federation/data/nlx_151835-1.json?exportType=data&q=HP:0000238+OMIM:610829&includeSubclasses=true&limit=10

      so, we need to make sure to add a btrim() to any item that we prefix with an idspace.

      Attachments

        Activity

          People

            nlw Nicole Washington
            nlw Nicole Washington
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: