INCATools / INCATools/ontology-access-kit

`validate-mappings`: `NotImplementedError: ... NoneType`

Open
#742 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
198
Forks
35
Avg merge
3d 4h
Merged PRs (30d)
1

Description

Overview

I'm trying to use runoak validate-mappings on a SSSOM file, but I'm getting an error message, and it doesn't contain enough information to help me diagnose the problem.

The error

NotImplementedError: Cannot execute this using None of type <class 'NoneType'>

Replicability

  1. Download and unzip unmapped_icd11foundation_lex_exact.tsv.zip
  2. Run runoak validate-mappings ~/Desktop/unmapped_icd11foundation_lex_exact.tsv
  3. Observe the error message

Additional information

Using latest version of OAK, oaklib==0.6.4

Contributor guide

Open the contributing guide

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 by downloading unmapped_icd11foundation_lex_exact.tsv.zip and reproducing the failure with runoak validate-mappings. Trace the validate-mappings CLI entry point to where the NoneType error is raised. Done means the command reports enough context to diagnose the invalid or unsupported mapping input.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
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.