bluesky / databroker-pack

Pack and unpack Bluesky Runs to/from a portable storage format.
http://blueskyproject.io/databroker-pack
BSD 3-Clause "New" or "Revised" License
3 stars 9 forks source link

Fix exporting to a relative target directory. #9

Closed danielballan closed 4 years ago

danielballan commented 4 years ago

This fixes the bug we encountered in the group exercise.

The tests only covered the usage

databroker-pack ... /path/to/directory  # <-- absolute path

not

databroker-pack ... path/to/directory  # <-- relative to cwd

The tests now cover both and fix the issue.