Skip to content

BioSense errors on some EKBs #38

@bgyori

Description

@bgyori
  (REQUEST :CONTENT
   (CHOOSE-SENSE :EKB-TERM "<ekb timestamp=\"20170822T235532\">
  <TERM id=\"V35529\" dbid=\"UP:P84122\">
    <type>ONT::PROTEIN</type>
    <name>THROMBIN</name>
    <drum-terms>
      <drum-term match-score=\"1.0\" matched-name=\"thrombin\" dbid=\"UP:P84122\" name=\"Thrombin\">
        <types>
          <type>ONT::PROTEIN</type>
        </types>
      </drum-term>
    </drum-terms>
  </TERM>
  <TERM id=\"V35551\" dbid=\"UP:P84122\">
    <type>ONT::PROTEIN</type>
    <name>THROMBIN</name>
    <drum-terms>
      <drum-term matched-name=\"thrombin\" match-score=\"1.0\" dbid=\"UP:P84122\" name=\"Thrombin\">
        <types>
          <type>ONT::PROTEIN</type>
        </types>
      </drum-term>
    </drum-terms>
  </TERM>
  <TERM id=\"V35783\">
    <components>
      <component id=\"V35529\"/>
      <component id=\"V35551\"/>
    </components>
    <type>ONT::PROTEIN</type>
  </TERM>
</ekb>")
   :REPLY-WITH BIO-SENSE-224)

This is not really a correct parse but still, failures like this should be handled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions