From f2a025e3be6ebeec043da861ceb4bd5fd9c2314a Mon Sep 17 00:00:00 2001 From: Julia Dark Date: Thu, 19 Sep 2024 15:45:16 -0400 Subject: [PATCH] Replace "dimension" with "index column" --- python-spec/src/somacore/experiment.py | 4 ++-- python-spec/src/somacore/measurement.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python-spec/src/somacore/experiment.py b/python-spec/src/somacore/experiment.py index a0732064..13b540b4 100644 --- a/python-spec/src/somacore/experiment.py +++ b/python-spec/src/somacore/experiment.py @@ -70,8 +70,8 @@ class Experiment( """A dataframe that stores the presence of obs in the spatial scenes. This provides a join table for the obs ``soma_joinid`` and the scene names used in - the ``spatial`` collection. This dataframe must contain dimensions ``soma_joinid`` - and ``scene_id``. The ``scene_id`` dimension must be a ``string`` dimension. The + the ``spatial`` collection. This dataframe must contain index columns ``soma_joinid`` + and ``scene_id``. The ``scene_id`` column must have type ``string``. The dataframe must contain a ``boolean`` column ``data``. The values of ``data`` are ``True`` if the obs with obsid ``soma_joinid`` is contained in the scene ``scene_id`` and ``False`` otherwise. diff --git a/python-spec/src/somacore/measurement.py b/python-spec/src/somacore/measurement.py index 5bb692f3..4d9c944a 100644 --- a/python-spec/src/somacore/measurement.py +++ b/python-spec/src/somacore/measurement.py @@ -104,8 +104,8 @@ class Measurement( """A dataframe that stores the presence of var in the spatial scenes. This provides a join tabel for the var ``soma_joinid`` and the scene names used in - the ``spatial`` collection. This dataframe must contain dimensions ``soma_joinid`` - and ``scene_id``. The ``scene_id`` dimension must be a ``string`` dimension. The + the ``spatial`` collection. This dataframe must contain index columns ``soma_joinid`` + and ``scene_id``. The ``scene_id`` column must have type ``string``. The dataframe must contain a ``boolean`` column ``data``. The values of ``data`` are ``True`` if the var with varid ``soma_joinid`` is contained in scene with name ``scene_id`` and ``False`` otherwise.