Skip to content

Commit

Permalink
Fix incorrect ResourcePath usage
Browse files Browse the repository at this point in the history
Newer ResourcePath is more strict about what operations are allowed when forceDirectory=False is specified.  This should always have been forceDirectory=True, because it's the temporary directory.
  • Loading branch information
dhirving committed Feb 1, 2024
1 parent 469a59f commit fe592e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/image_cutout_backend/_image_cutout_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def __init__(
self.projection_finder = projection_finder
self.output_root = ResourcePath(output_root, forceAbsolute=True, forceDirectory=True)
self.temporary_root = (
ResourcePath(temporary_root, forceDirectory=False) if temporary_root is not None else None
ResourcePath(temporary_root, forceDirectory=True) if temporary_root is not None else None
)

butler: Butler
Expand Down

0 comments on commit fe592e9

Please sign in to comment.