Bug(graphene): extract_graphene_path
doesn't parse URI segment prefixes
#462
Labels
redesign
It may be flawed, but the code was working as designed.
At Zetta, we have a number of ChunkedGraphs under the same subdomain, but with some additional prefixes, e.g
graphene://https://sub.domain.xyz/some_prefix/segmentation/table/dataset_name
which results in aUnsupportedFormatError: Unable to parse Graphene URL: https://sub.domain.xyz/some_prefix/segmentation/table/dataset_name
error.I think the current regex is stumbling over the additional
/some_prefix
in the URL:cloud-volume/cloudvolume/datasource/graphene/metadata.py
Line 433 in 297c34a
It only scans for a single segment before
/table
, but I am not sure if that's intentional, or a bug? At least I don't see why the limitation would be necessary.The text was updated successfully, but these errors were encountered: