Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RO functional syntax will not parse #47

Open
cmungall opened this issue Sep 26, 2022 · 0 comments
Open

RO functional syntax will not parse #47

cmungall opened this issue Sep 26, 2022 · 0 comments

Comments

@cmungall
Copy link
Collaborator

[I will commit a test right after this]

ERROR: test_ro (tests.test_ontologies.test_ro.RelationOntologyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/cjm/repos/funowl/tests/test_ontologies/test_ro.py", line 13, in test_ro
    doc = to_python(os.path.join(datadir, 'ro.ofn'))
  File "/Users/cjm/repos/funowl/funowl/converters/functional_converter.py", line 353, in to_python
    fparse(to_bytes_array(defn), 0, consumer)
  File "/Users/cjm/repos/funowl/funowl/converters/functional_converter.py", line 301, in fparse
    start = fparse(inp, start, lambda f: o.add_arg(f))
  File "/Users/cjm/repos/funowl/funowl/converters/functional_converter.py", line 310, in fparse
    consumer(OWLFunc(m.group(1).decode(), parse_args(body.decode())).decl)
  File "/Users/cjm/repos/funowl/funowl/converters/functional_converter.py", line 219, in parse_args
    rval.append(OWLFunc(m.group(1), parse_args(args.decode())))
  File "/Users/cjm/repos/funowl/funowl/converters/functional_converter.py", line 219, in parse_args
    rval.append(OWLFunc(m.group(1), parse_args(args.decode())))
  File "/Users/cjm/repos/funowl/funowl/converters/functional_converter.py", line 219, in parse_args
    rval.append(OWLFunc(m.group(1), parse_args(args.decode())))
  File "/Users/cjm/repos/funowl/funowl/converters/functional_converter.py", line 68, in __init__
    self.decl = self.eval(function, body)
  File "/Users/cjm/repos/funowl/funowl/converters/functional_converter.py", line 113, in eval
    raise NotImplemented(f"Method {function} is not implemented")
TypeError: 'NotImplementedType' object is not callable
cmungall added a commit that referenced this issue Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant