From 8e8c7b4771d32c24ec015964b3698ba4f55ea338 Mon Sep 17 00:00:00 2001 From: Tim Jenness Date: Mon, 10 Jul 2023 13:53:19 -0700 Subject: [PATCH] Minor doc fixes Co-authored-by: Andy Salnikov --- python/lsst/daf/butler/_butler.py | 2 +- python/lsst/daf/butler/_limited_butler.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python/lsst/daf/butler/_butler.py b/python/lsst/daf/butler/_butler.py index 55bbecf003..d8b04781d2 100644 --- a/python/lsst/daf/butler/_butler.py +++ b/python/lsst/daf/butler/_butler.py @@ -1265,7 +1265,7 @@ def getDirectDeferred( LookupError Raised if no matching dataset exists in the `Registry`. """ - # Check thad dataset actually exists. + # Check that dataset actually exists. if not self._datastore.exists(ref): raise LookupError(f"Dataset reference {ref} does not exist.") return DeferredDatasetHandle(butler=self, ref=ref, parameters=parameters, storageClass=storageClass) diff --git a/python/lsst/daf/butler/_limited_butler.py b/python/lsst/daf/butler/_limited_butler.py index 6e8ead86f4..f2300a544e 100644 --- a/python/lsst/daf/butler/_limited_butler.py +++ b/python/lsst/daf/butler/_limited_butler.py @@ -320,7 +320,7 @@ def getURIs( The URI to the primary artifact associated with this dataset (if the dataset was disassembled within the datastore this may be `None`), and the URIs to any components associated with the dataset - artifact. (can be empty if there are no components). + artifact (can be empty if there are no components). """ return self._datastore.getURIs(ref, predict) @@ -383,12 +383,12 @@ def get_many_uris( If the datastore does not know about a dataset, should it return a predicted URI or not? allow_missing : `bool` - If `False`, and `predict` is `False`, will raise if a `DatasetRef` + If `False`, and ``predict`` is `False`, will raise if a `DatasetRef` does not exist. Returns ------- - URIs : `dict` of [`DatasetRef`, `DatasetRefUris`] + URIs : `dict` of [`DatasetRef`, `DatasetRefURIs`] A dict of primary and component URIs, indexed by the passed-in refs.