File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,22 +30,22 @@ Verify a path exists before using it:
3030ds.files.to_uri(" /MyData/analysis/input/" , verify_exists = True )
3131```
3232
33- Reverse translation (URI back to Jupyter path):
33+ Reverse translation (URI back to Jupyter path, where ` ~ ` is ` /home/jupyter ` on DesignSafe JupyterHub ):
3434
3535``` python
3636ds.files.to_path(" tapis://designsafe.storage.default/<username>/data/file.txt" )
37- # /home/jupyter /MyData/data/file.txt
37+ # ~ /MyData/data/file.txt
3838
3939ds.files.to_path(" tapis://designsafe.storage.community/datasets/eq.csv" )
40- # /home/jupyter /CommunityData/datasets/eq.csv
40+ # ~ /CommunityData/datasets/eq.csv
4141```
4242
4343### Supported path formats
4444
4545| Input path | Tapis system |
4646| ---| ---|
4747| ` /MyData/... ` | ` designsafe.storage.default/<username>/... ` |
48- | ` /home/jupyter /MyData/...` | ` designsafe.storage.default/<username>/... ` |
48+ | ` ~ /MyData/...` | ` designsafe.storage.default/<username>/... ` |
4949| ` jupyter/MyData/... ` | ` designsafe.storage.default/<username>/... ` |
5050| ` /CommunityData/... ` | ` designsafe.storage.community/... ` |
5151| ` /projects/PRJ-XXXX/... ` | ` project-<uuid>/... ` (auto-discovered) |
You can’t perform that action at this time.
0 commit comments