Skip to content

Commit

Permalink
Minor docstring fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Mar 11, 2020
1 parent 9aface1 commit 28e397c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python/lsst/daf/butler/_butler.py
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ def prune(self, refs: Iterable[DatasetRef], *,
Datasets to prune. These must be "resolved" references (not just
a `DatasetType` and data ID).
disassociate : bool`, optional
Disassociate pruned datasets from ``self.collection`` (or the
Disassociate pruned datasets from ``self.collections`` (or the
collection given as the ``collection`` argument). Dataset that are
not in this collection are ignored, unless ``purge`` is `True`.
unstore : `bool`, optional
Expand Down Expand Up @@ -942,7 +942,7 @@ def prune(self, refs: Iterable[DatasetRef], *,
composite datasets. This will only prune components that are
actually attached to the given `DatasetRef` objects, which may
not reflect what is in the database (especially if they were
obtained from `Registry.queryDatasets`, which by does not include
obtained from `Registry.queryDatasets`, which does not include
components in its results).
Raises
Expand Down Expand Up @@ -1035,7 +1035,7 @@ def prune(self, refs: Iterable[DatasetRef], *,
# If we're disassociating but not purging, we can do that
# before we try to delete, and it will roll back if deletion
# fails. That will at least do the right thing if deletion
# fails because the files couldn't actually be delete (e.g.
# fails because the files couldn't actually be deleted (e.g.
# due to lack of permissions).
for tag in tags:
# recursive=False here because refs is already recursive
Expand Down Expand Up @@ -1100,8 +1100,8 @@ def ingest(self, *datasets: FileDataset, transfer: Optional[str] = None, run: Op
The name of a `~CollectionType.TAGGED` collection to associate the
dataset(s) with, overriding ``self.collection``. This collection
must have already been added to the `Registry`. May also be
`False` to skip association with ``self.collection`` even when that
is a `~CollectionType.TAGGED` collection.
`False` to skip association with ``self.collection`` even when
that is a `~CollectionType.TAGGED` collection.
Raises
------
Expand Down

0 comments on commit 28e397c

Please sign in to comment.