Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the Extract-represent-validate-notebook to here #53

Merged
merged 22 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
.. autosummary::
:toctree: generated

io.omop.setup_obs
io.omop.setup_variables
io.omop.get_time_interval_table
io.omop.load
io.omop.extract_person
io.omop.extract_observation_period
Expand Down
13 changes: 3 additions & 10 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@
from __future__ import annotations

# -- Path setup --------------------------------------------------------------
from contextlib import suppress
import sys
from datetime import datetime
from importlib.metadata import metadata
from pathlib import Path
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from sphinx.application import Sphinx
pass


HERE = Path(__file__).parent
Expand Down Expand Up @@ -146,18 +145,12 @@
("py:class", "duckdb.duckdb.DuckDBPyConnection"),
# Is documented as a py:attribute instead
("py:class", "numpy.int64"),
# For now not in public facing API
("py:class", "awkward.highlevel.Array"),
]

# Redirect broken parameter annotation classes
qualname_overrides = {
"zarr._storage.store.Store": "zarr.storage.MemoryStore",
"lnschema_core.models.Artifact": "lamindb.Artifact",
}


def setup(app: Sphinx) -> None:
"""Setup lamindb for CI."""
import lamindb as ln

with suppress(RuntimeError):
ln.setup.init(storage="/tmp/lamindb")
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ changelog.md
contributing.md
references.md

notebooks/tutorial_omop_visualization
notebooks/omop_tables_tutorial
notebooks/tutorial_ehrdata_omop
notebooks/cohort_definition
notebooks/study_design_example_omop_cdm
notebooks/indwelling_arterial_catheters
Expand Down
Loading
Loading