ontodev / robot

ROBOT is an OBO Tool
http://robot.obolibrary.org
BSD 3-Clause "New" or "Revised" License
263 stars 74 forks source link

Add --drop-axiom-annotations feature with value constraints #1193

Closed matentzn closed 6 months ago

matentzn commented 7 months ago

Resolves #886

This PR implements the last part of #886, which is to allow "value" expressions as constraints on the --drop-annotation-assertion parameter.

This does not at all affect the current behaviour on the master branch, and is a bit incomplete compared to the more powerful selector in remove and filter: only exact values and regex constraints are supported, nothing else (in particular not constraints like <IRI>).