Skip to content

Commit

Permalink
Made it non-fatal if generating inferred ontology fails
Browse files Browse the repository at this point in the history
  • Loading branch information
jesper-friis committed Apr 20, 2024
1 parent 0d32fee commit 57a9f8a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/scripts/makeversions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ while read version name; do
"$src" "$d/emmo.owl"
fi

# Generate inferred ontology
# Generate inferred ontology (may fail)
set +e
if $remake || [ ! -f "$d/emmo-inferred.ttl" ]; then
echo "Generate inferred ontology"
#ontoconvert -i HermiT -wsa "$d/emmo.ttl" "$d/emmo-inferred.ttl"
Expand All @@ -102,6 +103,7 @@ while read version name; do
if $remake || [ ! -f "$d/emmo-inferred.owl" ]; then
ontoconvert -w "$d/emmo-inferred.ttl" "$d/emmo-inferred.owl"
fi
set -e

# Generate renamed ontology
#if $remake || [ ! -f "$d/emmo-renamed.owl" ]; then
Expand Down

0 comments on commit 57a9f8a

Please sign in to comment.