Skip to content

Commit

Permalink
📝 Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Apr 11, 2024
1 parent 4521893 commit 39c7123
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions wetlab/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"""Lamin's `wetlab` exemplary lab schema.
"""Lamin's default `wetlab` lab schema.
Import the package::
import wetlab
import wetlab as wl
ORMs:
Registries:
.. autosummary::
:toctree: .
Expand Down Expand Up @@ -33,6 +33,7 @@ def __getattr__(name):


if _check_instance_setup():
del __getattr__ # delete so that imports work out
from .models import ( # noqa
Biosample,
Experiment,
Expand Down
2 changes: 1 addition & 1 deletion wetlab/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class TreatmentTarget(Registry, CanValidate):
description = models.TextField(null=True, default=None)
"""Description of the treatment target."""
genes = models.ManyToManyField("lnschema_bionty.Gene", related_name="treatment_targets")
"""Genes of the treatment target, link to :class:`~lnschema_bionty.Gene` records."""
"""Genes of the treatment target, link to :class:`~bionty.Gene` records."""
artifacts = models.ManyToManyField(Artifact, related_name="treatment_targets")
"""Artifacts linked to the treatment target."""
created_at = models.DateTimeField(auto_now_add=True, db_index=True)
Expand Down

0 comments on commit 39c7123

Please sign in to comment.