Target new API endpoint /extra_files/raw
#104
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As the vitessce webclient will append relative paths to the base url
Fixes empty panels that make use of anndata files:
This is because vitessce frontend will build urls like https://usegalaxy.org/api/datasets/f9cad7b01a4721358531a44ecfb1aff6/display/obs/.zattrs?filename=A/1/bdbd683b-1870-4c11-ae29-b35ff0be59b2.adata.zarr where we would (previously) need https://usegalaxy.org/api/datasets/f9cad7b01a4721358531a44ecfb1aff6/display?filename=A/1/bdbd683b-1870-4c11-ae29-b35ff0be59b2.adata.zarr/obs/.zattrs
I've added another endpoint at
api/datasets/{dataset_id}/extra_files/raw/{path}
, so that the vitessce frontend logic will work correctly.Please replace this header with a short description of your pull request. Please include BOTH what you did and why you made the changes
This PR is related to
tools-mti
repo, CI, or other misc. changeIf updating an existing tool to a newer major version
TOOL_VERSION
token in the tool's macros fileVERSION_SUFFIX
to0
in the tool's macros fileProvide details here