Skip to content

ontology load error #40

@Ali-MH-Mansour

Description

@Ali-MH-Mansour

Hi
Thanks for this work.
I got an error msg when loading ontology. i used the following code
pip install pytrips
pip install pytrips[tools] # optional
import nltk
nltk.download('wordnet')

from pytrips.ontology import load
ont = load()
KeyError: 'restriction' line 45 in ontology.py

i think it should be restr?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions