Closed balhoff closed 4 years ago
@balhoff did you run this in the your local/cloned 'jabberwocky-tests' directory?
it may be an issue with the 'jabberwocky-tests' repo documentation but the idea is that
$ catch --ontology ../ontology/pocketmonsters.owl --keywords .............
your -ontology file should direct where you clone the directory, e.g.
--ontology /home/samantha/git-clones/jabberwocky-tests/ontology/pocketmonsters.owl
and so on for the other files: the repo has the files, and you direct to them in the CLI:
$ catch --ontology /home/samantha/git-clones/jabberwocky-tests/ontology/pocketmonsters.owl --keywords /home/samantha/git-clones/jabberwocky-tests/ontology/listofwords.txt --textfile /home/samantha/git-clones/jabberwocky-tests/ontology/blogs_formatted.json --parameter blog_post > catch_output.txt
Thanks @sap218—I am running in the 'jabberwocky-tests/catch' directory. The command line does seem to point to the right folders. If the paths are wrong, I get a different error about 'No such file', which makes sense.
I installed jabberwocky by first making a virtual environment: python3 -m venv pyenv; source ./pyenv/bin/activate
. Then I installed all the packages using that python environment.
Thanks @balhoff - really sorry about that! It seems I did forget about a dependency! I've just updated the requirements.txt and README. you may need to re-clone.
I'm going to close this issue, but please reopen an issue if you find another issue!
I installed jabberwocky and tried to run the first example from jabberwocky-tests. I got this output:
I'm running in a virtual environment with only the jabberwocky dependencies installed.
(this is part of JOSS review https://github.com/openjournals/joss-reviews/issues/2168)