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

Create python package #3

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions code/nxsOnto/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
**NeXusOntology creation script**

Ensure that owlready2 and pygithub are installed (pip install) by running the requirements.txt

Add four parameters when running the code:
python3 -m nxsOnto.generator [github access token] [out path for ontology] [temporary file path]

To get a Github access token:
Github/settings/developer settings/personal access tokens/create new token

Some deprecation warnings are likely to be displayed before the .owl file is created.

The .owl file (RDF/XML syntax) can be opened by a text editor or ontology tool such as Protege (https://protege.stanford.edu/)

See ontology metadata for more information.
Empty file.
Loading