SynBioDex / pySBOL3

Native python implementation of SBOL 3.0 specification
MIT License
37 stars 16 forks source link

Allow default local as well as namespace #288

Closed jakebeal closed 2 years ago

jakebeal commented 3 years ago

Currently, we have a method to default namespaces, but not the local component of a URI. Thus, all URIs formed by supplying just a displayID are of the form: namespace/displayID SBOL3, however, allows for more complex URIs of the form: namespace/local/displayID Can we add a set_local() function that allows this middle component to be set for defaulting as well? Much of the time, it will be None and behavior should be as it is now, but it will be useful to allow the possibility.

jakebeal commented 2 years ago

This should become unnecessary given the SEP 054 package system, in which local components are never used - instead, "folder structure" is embedded in sub-package relationship.