Skip to content

Commit

Permalink
📝 Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Sep 30, 2024
1 parent c3cbc06 commit 31dae64
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions bionty/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def from_source(
Notes:
For more info, see tutorial :doc:`docs:bionty`
Bulk create records via :meth:`~docs:lamindb.core.Record.from_values`.
Bulk create records via :meth:`~docs:lamindb.core.CanValidate.from_values`.
Examples:
Create a record by passing a field value:
Expand Down Expand Up @@ -474,7 +474,7 @@ def from_public(cls, *args, **kwargs) -> BioRecord | list[BioRecord] | None:
Notes:
For more info, see tutorial :doc:`docs:bionty`
Bulk create records via :meth:`~docs:lamindb.core.Record.from_values`.
Bulk create records via :meth:`~docs:lamindb.core.CanValidate.from_values`.
Examples:
Create a record by passing a field value:
Expand Down Expand Up @@ -578,7 +578,7 @@ class Gene(BioRecord, TracksRun, TracksUpdates):
Notes:
For more info, see tutorials :doc:`docs:bio-registries` and :doc:`docs:gene`.
Bulk create Gene records via :meth:`~docs:lamindb.core.Record.from_values`.
Bulk create Gene records via :meth:`~docs:lamindb.core.CanValidate.from_values`.
Map legacy ensembl IDs to current ensembl IDs using :meth:`bionty.base.Gene.map_legacy_ids`.
Examples:
Expand Down Expand Up @@ -666,7 +666,7 @@ class Protein(BioRecord, TracksRun, TracksUpdates):
Notes:
For more info, see tutorials :doc:`docs:bio-registries` and :doc:`docs:protein`.
Bulk create records via :meth:`~docs:lamindb.core.Record.from_values`.
Bulk create records via :meth:`~docs:lamindb.core.CanValidate.from_values`.
Examples:
>>> record = bionty.Protein.from_source(name="Synaptotagmin-15B", organism="human")
Expand Down Expand Up @@ -749,7 +749,7 @@ class CellMarker(BioRecord, TracksRun, TracksUpdates):
Notes:
For more info, see tutorials :doc:`docs:bio-registries` and :doc:`docs:cell_marker`.
Bulk create CellMarker records via :meth:`~docs:lamindb.core.Record.from_values`.
Bulk create CellMarker records via :meth:`~docs:lamindb.core.CanValidate.from_values`.
Examples:
>>> record = bionty.CellMarker.from_source(name="PD1", organism="human")
Expand Down Expand Up @@ -830,7 +830,7 @@ class Tissue(BioRecord, TracksRun, TracksUpdates):
Notes:
For more info, see tutorials :doc:`docs:bio-registries` :doc:`docs:tissue`.
Bulk create Tissue records via :meth:`~docs:lamindb.core.Record.from_values`.
Bulk create Tissue records via :meth:`~docs:lamindb.core.CanValidate.from_values`.
Examples:
>>> record = bionty.Tissue.from_source(name="brain")
Expand Down Expand Up @@ -902,7 +902,7 @@ class CellType(BioRecord, TracksRun, TracksUpdates):
Notes:
For more info, see tutorials :doc:`docs:bio-registries` and :doc:`docs:cell_type`.
Bulk create CellType records via :meth:`~docs:lamindb.core.Record.from_values`.
Bulk create CellType records via :meth:`~docs:lamindb.core.CanValidate.from_values`.
Examples:
>>> record = bionty.CellType.from_source(name="T cell")
Expand Down Expand Up @@ -972,7 +972,7 @@ class Disease(BioRecord, TracksRun, TracksUpdates):
"""Diseases - `Mondo <https://mondo.monarchinitiative.org/>`__, `Human Disease <https://disease-ontology.org/>`__.
Notes:
Bulk create Disease records via :meth:`~docs:lamindb.core.Record.from_values`.
Bulk create Disease records via :meth:`~docs:lamindb.core.CanValidate.from_values`.
For more info, see tutorials: :doc:`docs:disease`.
Expand Down Expand Up @@ -1046,7 +1046,7 @@ class CellLine(BioRecord, TracksRun, TracksUpdates):
Notes:
For more info, see tutorials :doc:`docs:bio-registries` and :doc:`docs:cell_line`.
Bulk create CellLine records via :meth:`~docs:lamindb.core.Record.from_values`.
Bulk create CellLine records via :meth:`~docs:lamindb.core.CanValidate.from_values`.
Examples:
>>> standard_name = bionty.CellLine.public().standardize(["K562"])[0]
Expand Down Expand Up @@ -1122,7 +1122,7 @@ class Phenotype(BioRecord, TracksRun, TracksUpdates):
Notes:
For more info, see tutorials :doc:`docs:bio-registries` and :doc:`docs:phenotype`.
Bulk create Phenotype records via :meth:`~docs:lamindb.core.Record.from_values`.
Bulk create Phenotype records via :meth:`~docs:lamindb.core.CanValidate.from_values`.
Examples:
>>> record = bionty.Phenotype.from_source(name="Arachnodactyly")
Expand Down Expand Up @@ -1196,7 +1196,7 @@ class Pathway(BioRecord, TracksRun, TracksUpdates):
Notes:
For more info, see tutorials :doc:`docs:bio-registries` and :doc:`docs:pathway`.
Bulk create Pathway records via :meth:`~docs:lamindb.core.Record.from_values`.
Bulk create Pathway records via :meth:`~docs:lamindb.core.CanValidate.from_values`.
Examples:
>>> record = bionty.Pathway.from_source(ontology_id="GO:1903353")
Expand Down Expand Up @@ -1275,7 +1275,7 @@ class ExperimentalFactor(BioRecord, TracksRun, TracksUpdates):
Notes:
For more info, see tutorials :doc:`docs:bio-registries` and :doc:`docs:experimental_factor`.
Bulk create ExperimentalFactor records via :meth:`~docs:lamindb.core.Record.from_values`.
Bulk create ExperimentalFactor records via :meth:`~docs:lamindb.core.CanValidate.from_values`.
Examples:
>>> standard_name = bionty.ExperimentalFactor.public().standardize(["scRNA-seq"])
Expand Down Expand Up @@ -1357,7 +1357,7 @@ class DevelopmentalStage(BioRecord, TracksRun, TracksUpdates):
Notes:
For more info, see tutorials :doc:`docs:bio-registries` and :doc:`docs:developmental_stage`.
Bulk create DevelopmentalStage records via :meth:`~docs:lamindb.core.Record.from_values`.
Bulk create DevelopmentalStage records via :meth:`~docs:lamindb.core.CanValidate.from_values`.
Examples:
>>> record = bionty.DevelopmentalStage.from_source(name="neurula stage")
Expand Down Expand Up @@ -1432,7 +1432,7 @@ class Ethnicity(BioRecord, TracksRun, TracksUpdates):
Notes:
For more info, see tutorials :doc:`docs:bio-registries` and :doc:`docs:ethnicity`.
Bulk create Ethnicity records via :meth:`~docs:lamindb.core.Record.from_values`.
Bulk create Ethnicity records via :meth:`~docs:lamindb.core.CanValidate.from_values`.
Examples:
>>> record = bionty.Ethnicity.from_source(name="European")
Expand Down

0 comments on commit 31dae64

Please sign in to comment.