Skip to content

Commit

Permalink
Fix datastore.root usage now that root is a ButlerURI and not a path
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Aug 20, 2020
1 parent e89cb00 commit eaf2375
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/obs/base/ingest_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ def testInPlace(self):
"""
# symlink into repo root manually
butler = Butler(self.root, run=self.outputRun)
newPath = os.path.join(butler.datastore.root, os.path.basename(self.file))
os.symlink(os.path.abspath(self.file), newPath)
newPath = butler.datastore.root.join(os.path.basename(self.file))
os.symlink(os.path.abspath(self.file), newPath.ospath)
self._ingestRaws(transfer=None)
self.verifyIngest()

Expand Down

0 comments on commit eaf2375

Please sign in to comment.