INCATools / ontology-development-kit

Bootstrap an OBO Library ontology
http://incatools.github.io/ontology-development-kit/
BSD 3-Clause "New" or "Revised" License
223 stars 54 forks source link

Could not find `class-count-by-prefix.sparql` #1030

Closed anitacaron closed 6 months ago

anitacaron commented 6 months ago

I generated a repository the first time using ODK v1.4, and now I had to run a release and got an issue related to the SPARQL file mentioned in the title.

robot --catalog catalog-v001.xml query -f tsv --use-graphs true -i tmp/afpo-preprocess.owl -s ../sparql/basic-report.sparql reports/basic-report.tsv -s ../sparql/class-count-by-prefix.sparql reports/class-count-by-prefix.tsv -s ../sparql/edges.sparql reports/edges.tsv -s ../sparql/xrefs.sparql reports/xrefs.tsv -s ../sparql/obsoletes.sparql reports/obsoletes.tsv -s ../sparql/synonyms.sparql reports/synonyms.tsv
File '../sparql/class-count-by-prefix.sparql' does not exist
Use the -vvv option to show the stack trace.
Use the --help option to see usage information.
make[1]: *** [Makefile:492: custom_reports] Error 1
make[1]: Leaving directory '/work/src/ontology'
make: *** [Makefile:312: prepare_release_fast] Error 2

I checked the commit history and found first the change on Makefile, and then removing the sparql query without changing the Makefile. I don't see another sparql query with the same purpose.

Should the file be returned to the repository, or should its filename be removed from the Makefile?