Skip to content

Commit 1b99d04

Browse files
justaddcoffeeJustin Reeseclaudecmungall
authored
Fix broken links to notebooks (#837)
Updated all links pointing to /notebooks/Commands/ to now point to /docs/examples/Commands/ following repository reorganization. This includes links in: - README.md - src/oaklib/cli.py - docs/faq/commandline.rst - docs/guide/mappings.rst - docs/guide/similarity.rst - docs/howtos/use-oak-expression-language.rst 🤖 Generated with CBorg Code Co-authored-by: Justin Reese <[email protected]> Co-authored-by: Claude <[email protected]> Co-authored-by: Chris Mungall <[email protected]>
1 parent a3baa51 commit 1b99d04

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ For more examples, see
8484
See:
8585

8686
- [CLI docs](https://incatools.github.io/ontology-access-kit/cli.html)
87-
- [Example notebooks](https://github.com/INCATools/ontology-access-kit/tree/main/notebooks/Commands)
87+
- [Example notebooks](https://github.com/INCATools/ontology-access-kit/tree/main/docs/examples/Commands)
8888

8989
## Search
9090

docs/faq/commandline.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Each command typically comes with some examples of use
2828
How do I get more examples of command line usage?
2929
-------------------------------------------------
3030

31-
See the ``Commands <https://github.com/INCATools/ontology-access-kit/tree/main/notebooks/Commands>`_ folder
31+
See the ``Commands <https://github.com/INCATools/ontology-access-kit/tree/main/docs/examples/Commands>`_ folder
3232
of the Jupyter notebooks directory in GitHub. Our aim is to eventually have one notebook per command.
3333
3434
I want to query an ontology, what do I pass for the ``--input`` option?

docs/guide/mappings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Mappings in OAK
3030

3131
To see all mappings for a concept or concept, you can use the mappings command.
3232

33-
See the `Notebook example on mappings <https://github.com/INCATools/ontology-access-kit/blob/main/notebooks/Commands/Mappings.ipynb>`_.
33+
See the `Notebook example on mappings <https://github.com/INCATools/ontology-access-kit/blob/main/docs/examples/Commands/Mappings.ipynb>`_.
3434

3535
.. code-block:: bash
3636

docs/guide/similarity.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ See the `Similarity data model <https://w3id.org/oak/similarity/>`_ for details
358358
Companion Notebooks
359359
-------------------
360360

361-
See the notebook for the `termset-similarity Command <https://github.com/INCATools/ontology-access-kit/blob/main/notebooks/Commands/TermsetSimilarity.ipynb`_
361+
See the notebook for the `termset-similarity Command <https://github.com/INCATools/ontology-access-kit/blob/main/docs/examples/Commands/TermsetSimilarity.ipynb`_
362362

363363
Further reading
364364
---------------

docs/howtos/use-oak-expression-language.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Some experience in using the CLI is recommended.
1515
For the full list of OAK command line commands, see:
1616

1717
- :ref:`_command_line_interface`
18-
- `Commands notebook <https://github.com/INCATools/ontology-access-kit/tree/main/notebooks/Commands>`_
18+
- `Commands notebook <https://github.com/INCATools/ontology-access-kit/tree/main/docs/examples/Commands>`_
1919

2020
Basics
2121
------

src/oaklib/cli.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ def obsoletes(
855855
856856
More examples:
857857
858-
https://github.com/INCATools/ontology-access-kit/blob/main/notebooks/Commands/Obsoletes.ipynb
858+
https://github.com/INCATools/ontology-access-kit/blob/main/docs/examples/Commands/Obsoletes.ipynb
859859
860860
Python API:
861861
@@ -1953,7 +1953,7 @@ def paths(
19531953
19541954
More examples:
19551955
1956-
https://github.com/INCATools/ontology-access-kit/blob/main/notebooks/Commands/Paths.ipynb
1956+
https://github.com/INCATools/ontology-access-kit/blob/main/docs/examples/Commands/Paths.ipynb
19571957
19581958
"""
19591959
impl = settings.impl
@@ -3231,7 +3231,7 @@ def relationships(
32313231
32323232
More examples:
32333233
3234-
https://github.com/INCATools/ontology-access-kit/blob/main/notebooks/Commands/Relationships.ipynb
3234+
https://github.com/INCATools/ontology-access-kit/blob/main/docs/examples/Commands/Relationships.ipynb
32353235
32363236
Python API:
32373237
@@ -3405,7 +3405,7 @@ def logical_definitions(
34053405
34063406
More examples:
34073407
3408-
https://github.com/INCATools/ontology-access-kit/blob/main/notebooks/Commands/LogicalDefinitions.ipynb
3408+
https://github.com/INCATools/ontology-access-kit/blob/main/docs/examples/Commands/LogicalDefinitions.ipynb
34093409
34103410
Python API:
34113411
@@ -3990,7 +3990,7 @@ def mappings(terms, maps_to_source, autolabel: bool, output, output_type, mapper
39903990
39913991
More examples:
39923992
3993-
https://github.com/INCATools/ontology-access-kit/blob/main/notebooks/Commands/Mappings.ipynb
3993+
https://github.com/INCATools/ontology-access-kit/blob/main/docs/examples/Commands/Mappings.ipynb
39943994
39953995
"""
39963996
impl = settings.impl
@@ -4341,7 +4341,7 @@ def taxon_constraints(
43414341
43424342
More examples:
43434343
4344-
https://github.com/INCATools/ontology-access-kit/blob/main/notebooks/Commands/TaxonConstraints.ipynb
4344+
https://github.com/INCATools/ontology-access-kit/blob/main/docs/examples/Commands/TaxonConstraints.ipynb
43454345
43464346
This command is a wrapper onto taxon_constraints_utils:
43474347
@@ -4415,7 +4415,7 @@ def apply_taxon_constraints(
44154415
44164416
More examples:
44174417
4418-
https://github.com/INCATools/ontology-access-kit/blob/main/notebooks/Commands/Apply.ipynb
4418+
https://github.com/INCATools/ontology-access-kit/blob/main/docs/examples/Commands/Apply.ipynb
44194419
44204420
"""
44214421
impl = settings.impl
@@ -4634,7 +4634,7 @@ def associations(
46344634
46354635
More examples:
46364636
4637-
https://github.com/INCATools/ontology-access-kit/blob/main/notebooks/Commands/Associations.ipynb
4637+
https://github.com/INCATools/ontology-access-kit/blob/main/docs/examples/Commands/Associations.ipynb
46384638
46394639
"""
46404640
impl = settings.impl
@@ -5327,7 +5327,7 @@ def enrichment(
53275327
53285328
For a full example, see:
53295329
5330-
https://github.com/INCATools/ontology-access-kit/blob/main/notebooks/Commands/Enrichment.ipynb
5330+
https://github.com/INCATools/ontology-access-kit/blob/main/docs/examples/Commands/Enrichment.ipynb
53315331
53325332
Note that it is possible to run "pseudo-enrichments" on term lists only by passing
53335333
no associations and using --ontology-only. This creates a fake association set that is simply

0 commit comments

Comments
 (0)