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

Updated WebserverCommand to use local ontologies if available #25

Merged
merged 3 commits into from
Oct 16, 2018

Conversation

gaurav
Copy link
Member

@gaurav gaurav commented Oct 8, 2018

TestCommand (java -jar jphyloref.jar test ...) already supports the use of local ontologies if they are available. This PR adds support for reading ontologies from the same folder to WebserverCommand (java -jar jphyloref.jar webserver ...) as well.

@gaurav gaurav requested a review from hlapp October 8, 2018 22:17
Copy link
Member

@hlapp hlapp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What remains a bit confusing is whether this will always look for local ontologies (or only if the HTTP IRIs fail to dereference), and whether a local ontology if found will supersede the online version.

Also, Protégé actually has had to solve the same problem, and does this by writing (and subsequently reading) a catalog.xml file. This may go past the scope of this PR but couldn't we reuse that?

@gaurav gaurav merged commit fc4369d into master Oct 16, 2018
@gaurav
Copy link
Member Author

gaurav commented Oct 16, 2018

Yup, I hadn't realized that XML catalogs were an open standard! I've opened an issue for implementing them in #28.

@gaurav gaurav deleted the use_local_ontologies_in_webserver branch April 4, 2019 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants