gtfierro / reasonable

OWL 2 Reasoner built on DataFrog
BSD 3-Clause "New" or "Revised" License
73 stars 4 forks source link

Intendation error when calling from_graph method #19

Closed areleu closed 1 year ago

areleu commented 1 year ago

https://github.com/gtfierro/reasonable/blob/4b79278ed14ee94d6fa8ab9c0aa6e44822d98326/src/pyreason.rs#L155

Traceback (most recent call last):

  File ~\AppData\Local\mambaforge\envs\metadata_dev\lib\site-packages\IPython\core\interactiveshell.py:3398 in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)

  Input In [12] in <cell line: 1>
    r.from_graph(g)

  File converters.pg:2
    def get_triples(graph):
    ^
IndentationError: unexpected indent

This probably can be fixed by removing the indentation in the code, I dont really get why I get this error

areleu commented 1 year ago

I was running in windows and in a ipythonkernel

gtfierro commented 1 year ago

Should be fixed in reasonable==0.2.2a4!