counsyl / stor

A cross-compatible CLI and Python API for accessing block and object storage
https://counsyl.github.io/stor/
Other
35 stars 12 forks source link

Support mixed canonical paths #142

Open jtratner opened 3 years ago

jtratner commented 3 years ago

Currently when you try to use a path like dx://someproj:file-123, you get an error about data not found:

NotFoundError: No data object was found for the given path (dx://myproj:file-G0GYf0Q0BqQ4kbBfJvGgFG4K) on DNAnexus

This just fixes it to check if valid dxid and then returns it.