Skip to content
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

Print class axioms using manchester syntax #63

Open
ShahimEssaid opened this issue Feb 2, 2015 · 2 comments
Open

Print class axioms using manchester syntax #63

ShahimEssaid opened this issue Feb 2, 2015 · 2 comments

Comments

@ShahimEssaid
Copy link

From josemigu...@gmail.com on May 17, 2013 08:04:32

Add an option similar to --list-class-axioms that prints out the class axioms in manchester syntax.

For example for the class http://purl.obolibrary.org/obo/UBERON_0002102 ('forelimb') generate the following output:

'forelimb' subClassOf 'develops_from' some 'forelimb bud'

as opposed to --list-class-axioms current output:
SubClassOf(UBERON:0002102 'forelimb' ObjectSomeValuesFrom(develops_from 'develops_from' UBERON:0005417 'forelimb bud'))

Original issue: http://code.google.com/p/owltools/issues/detail?id=63

@ShahimEssaid
Copy link
Author

From josemigu...@gmail.com on May 17, 2013 08:05:25

This is an enhancement, not a defect

@ShahimEssaid
Copy link
Author

From HDie...@lbl.gov on May 17, 2013 16:35:17

Hello,
I have added a new option to configure the print-out (a.k.a. OwlPrettyPrinter).
There is now a CommandRunner option to set the format for the printer. By default the current format is used. To set a different format, i.e. manchester-like syntax use:
--pretty-printer-settings -m
You can also add '--hide-ids' to hide the double identifiers.
Please set this before the call of the methods, such as --list-class-axioms

Status: Started
Owner: HDie...@lbl.gov
Labels: -Type-Defect Type-Enhancement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant