ontodev / robot

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

Relax command extension #1188

Closed matentzn closed 6 months ago

matentzn commented 8 months ago

Fixes #1060, #1183

These PR extends the relax command by adding three new options:

I like all the functionality, but the --enforce-obo-format is really clunky. I would be happy if someone made a better suggestion; I also dont like --exclude-nested.

The only "breaking" change in this PR is that the CLI gets --exclude-named-classes by default as true. Previously, before this option existed, A=B was relaxed to A sub B and B sub A. No one I personally now has ever said that this is a good idea, so we changed the default, as discussed in #1060.