Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
πŸ“ Prettify docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Dec 2, 2023
1 parent 0b91cb9 commit 882d2fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lnschema_core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@ def members(self) -> "QuerySet":


class File(Registry, Data, IsTree):
"""Files: data batches.
"""Files: data batches (blobs & array shards).
Args:
data: `Union[PathLike, DataLike]` A path or data
Expand All @@ -1330,8 +1330,6 @@ class File(Registry, Data, IsTree):
.. dropdown:: Typical storage formats & their API accessors
Listed are typical values for the `suffix` & `accessor` fields.
- Table: `.csv`, `.tsv`, `.parquet`, `.ipc` ⟷ `DataFrame`, `pyarrow.Table`
- Annotated matrix: `.h5ad`, `.h5mu`, `.zrad` ⟷ `AnnData`, `MuData`
- Image: `.jpg`, `.png` ⟷ `np.ndarray`, ...
Expand All @@ -1340,6 +1338,8 @@ class File(Registry, Data, IsTree):
- VCF: `.vcf` ⟷ /
- QC: `.html` ⟷ /
You'll find these values in the `suffix` & `accessor` fields.
LaminDB makes some default choices (e.g., serialize a `DataFrame` as a
`.parquet` file).
Expand Down

0 comments on commit 882d2fc

Please sign in to comment.