linkml / schema-automator

Automated assistance for the schema development lifecycle
https://linkml.io/schema-automator/
BSD 3-Clause "New" or "Revised" License
34 stars 12 forks source link

todo (before merging webmap code into main ?) #5

Open turbomam opened 3 years ago

turbomam commented 3 years ago

@cmungall

Makefile:

include a simpler example within this repo e.g

mapping code in general

@wdduncan

You may want to consider

turbomam commented 3 years ago

@wdduncan can you elaborate on what a CLI utility for the webmapping would look like? I am already using a click CLI.

wdduncan commented 3 years ago

In the setup.py on nmdc-schema you will see the validate-nmdc-json and nmdc-version entry points.

This allows to run the associated python files from any directory just like other command line tools. E.g., after installing nmdc-schema (i.e., pip install nmdc-schema) you can find out the version of the schema by executing nmdc-version.

To accomplish the same thing with a .py file you need to 1) clone the repo and 2) modify your path to include the .py file.

sierra-moxon commented 1 year ago

I am going to close for now; I think a lot of this functionality is in place. Please reopen if needed.