Skip to content

Commit

Permalink
same fix for test script
Browse files Browse the repository at this point in the history
  • Loading branch information
chcorbato committed May 23, 2020
1 parent 38d08ac commit 1cef3a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mros1_reasoner/scripts/test_mros1_reasoner.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ def timer_cb(event):
rospy.loginfo(' >> Started MAPE-K ** Analysis (ontological reasoning) **')
with lock:
try:
with onto:
sync_reasoner_pellet(infer_property_values = True, infer_data_property_values = True)
except owlready2.base.OwlReadyInconsistentOntologyError as err:
rospy.logerr("Reasoning error: %s", str(err))
Expand Down

0 comments on commit 1cef3a0

Please sign in to comment.