Skip to content

Commit

Permalink
Merge pull request #189 from lsst/tickets/DM-35153
Browse files Browse the repository at this point in the history
DM-35153: Fix collection order in SimplePipelineExecutor
  • Loading branch information
cmsaunders committed Jun 14, 2022
2 parents e455e31 + b0cd0bb commit 4509cef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/ctrl/mpexec/simple_pipeline_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def prep_butler(
butler = Butler(root, writeable=True)
butler.registry.registerCollection(output_run, CollectionType.RUN)
butler.registry.registerCollection(output, CollectionType.CHAINED)
collections = list(inputs)
collections.append(output_run)
collections = [output_run]
collections.extend(inputs)
butler.registry.setCollectionChain(output, collections)
# Remake butler to let it infer default data IDs from collections, now
# that those collections exist.
Expand Down

0 comments on commit 4509cef

Please sign in to comment.