Skip to content

Cleanup #23

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

Merged
merged 5 commits into from
Nov 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

SHELL := /bin/bash

PYTHON3 ?= $(shell which python3.9 2>/dev/null || which python3.8 2>/dev/null || which python3.7 2>/dev/null || which python3.6 2>/dev/null || which python3)
PYTHON3 ?= python3

case_version := $(shell $(PYTHON3) case_utils/ontology/version_info.py)
ifeq ($(case_version),)
Expand All @@ -37,7 +37,8 @@ all: \
# Build an ontology terms list, which has a side effect of initiating further submodules.
$(MAKE) \
--directory dependencies/CASE-Examples-QC \
download
.git_submodule_init.done.log \
.venv.done.log
$(MAKE) \
--directory dependencies/CASE-Examples-QC/tests \
ontology_vocabulary.txt
Expand Down
2 changes: 1 addition & 1 deletion case_utils/case_sparql_select/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@

import argparse
import binascii
import os
import logging
import os

import pandas as pd # type: ignore
import rdflib.plugins.sparql # type: ignore
Expand Down
3 changes: 1 addition & 2 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SHELL := /bin/bash

top_srcdir := $(shell cd .. ; pwd)

PYTHON3 ?= $(shell which python3.9 2>/dev/null || which python3.8 2>/dev/null || which python3.7 2>/dev/null || which python3.6 2>/dev/null || which python3)
PYTHON3 ?= python3

all: \
all-case_utils
Expand Down Expand Up @@ -52,7 +52,6 @@ all: \
.
touch $@


all-case_utils: \
.venv.done.log
$(MAKE) \
Expand Down
4 changes: 3 additions & 1 deletion tests/case_utils/case_file/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ top_srcdir := $(shell cd ../../.. ; pwd)

tests_srcdir := $(top_srcdir)/tests

case_srcdir := $(top_srcdir)/dependencies/CASE

qc_srcdir := $(top_srcdir)/dependencies/CASE-Examples-QC

RDF_TOOLKIT_JAR := $(qc_srcdir)/dependencies/CASE-Examples/dependencies/CASE-0.3.0/CASE/lib/rdf-toolkit.jar
RDF_TOOLKIT_JAR := $(case_srcdir)/lib/rdf-toolkit.jar

COMM ?= $(shell which gcomm 2>/dev/null || which comm)
ifeq ($(COMM),)
Expand Down