Skip to content

Commit

Permalink
use input root instead of fetching from private butler var
Browse files Browse the repository at this point in the history
  • Loading branch information
n8pease committed Jul 2, 2016
1 parent 4c9a6f5 commit 46f27c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/pipe/tasks/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def isBadId(self, info, badIdList):
def run(self, args):
"""Ingest all specified files and add them to the registry"""
filenameList = sum([glob(filename) for filename in args.files], [])
root = args.butler.repository._mapper.root
root = args.input #args.butler.repository._mapper.root
context = self.register.openRegistry(root, create=args.create, dryrun=args.dryrun)
with context as registry:
for infile in filenameList:
Expand Down

0 comments on commit 46f27c6

Please sign in to comment.