Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
Rebase & correct example path.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterKraus committed Oct 25, 2023
1 parent 153d263 commit dfca138
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Then, you can check the validity of your filetype or extractor definition agains

.. code-block:: bash
linkml-validate -s schemas/filetype.yml -C FileType examples/filetype/biologic_mpr.yml
linkml-validate -s <submodule>/schemas/filetype.yml -C FileType <submodule>/examples/filetype/netcdf.yml
If successful, you should see ``✓ No problems found`` returned by ``linkml-validate``.
Expand All @@ -41,9 +41,9 @@ The |LinkML|_ schemas provided here can be automatically translated to other for

.. code-block:: bash
gen-json-schema schemas/filetype.yml >> filetype.json
gen-python schemas/filetype.yml >> filetype.py
gen-pydantic schemas/filetype.yml >> filetype.py
gen-json-schema <submodule>/schemas/filetype.yml >> filetype.json
gen-python <submodule>/schemas/filetype.yml >> filetype.py
gen-pydantic <submodule>/schemas/filetype.yml >> filetype.py
The generated files are intended to be used in downstream codes such as in the `validation function <https://github.com/marda-alliance/metadata_extractors_registry/blob/main/tasks.py#L33>`_ of the |MME Registry|_.

Expand Down

0 comments on commit dfca138

Please sign in to comment.