From ef0caeff53c2c43cccfdcf9000d251edee925fc7 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Fri, 1 Nov 2024 09:21:26 -0400 Subject: [PATCH] docstr typo fixes (#241) --- python-spec/src/somacore/measurement.py | 6 +++--- python-spec/src/somacore/query/query.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python-spec/src/somacore/measurement.py b/python-spec/src/somacore/measurement.py index 273b58f..af3c939 100644 --- a/python-spec/src/somacore/measurement.py +++ b/python-spec/src/somacore/measurement.py @@ -62,7 +62,7 @@ class Measurement( soma_type: Final = "SOMAMeasurement" # type: ignore[misc] var = _mixin.item[_DF]() - """Primary annotations on the variable axis for vars on this meansurement. + """Primary annotations on the variable axis for vars on this measurement. This annotates _columns_ of the ``X`` arrays. The contents of the ``soma_joinid`` pseudo-column define the variable index domain (``varid``) @@ -83,7 +83,7 @@ class Measurement( """ obsp = _mixin.item[_SparseNDColl]() - """Matrices containg pairwise annotations of each ``obs`` row. + """Matrices containing pairwise annotations of each ``obs`` row. This is indexed by ``[obsid_1, obsid_2]``. """ @@ -95,7 +95,7 @@ class Measurement( """ varp = _mixin.item[_SparseNDColl]() - """Matrices containg pairwise annotations of each ``var`` row. + """Matrices containing pairwise annotations of each ``var`` row. This is indexed by ``[varid_1, varid_2]``. """ diff --git a/python-spec/src/somacore/query/query.py b/python-spec/src/somacore/query/query.py index 947d8b0..af60b93 100644 --- a/python-spec/src/somacore/query/query.py +++ b/python-spec/src/somacore/query/query.py @@ -342,7 +342,7 @@ def to_anndata( drop_levels: Indicate whether unused categories on axis frames should be dropped. By default, False, the categories which are present - in the SOMA Experimentand not present in the query output + in the SOMA Experiment and not present in the query output are not dropped. Lifecycle: maturing