Skip to content

Commit

Permalink
Minor doc fixes
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Salnikov <[email protected]>
  • Loading branch information
timj and andy-slac authored Jul 10, 2023
1 parent a721723 commit 8e8c7b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion python/lsst/daf/butler/_butler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions python/lsst/daf/butler/_limited_butler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 8e8c7b4

Please sign in to comment.