Skip to content

Commit

Permalink
Set special butler flag to allow put of predefined registry entry
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed May 26, 2021
1 parent b162c21 commit a349c9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/lsst/pipe/base/executionButlerBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def _setupNewButler(butler: Butler, outputLocation: ButlerURI, dirExists: bool)
# file data stores continue to look at the old location.
config = Config(butler._config)
config["root"] = outputLocation.geturl()
config["allow_put_of_predefined_dataset"] = True
config["registry", "db"] = "sqlite:///<butlerRoot>/gen3.sqlite3"
# record the current root of the datastore if it is specified relative
# to the butler root
Expand Down

0 comments on commit a349c9d

Please sign in to comment.