-
Notifications
You must be signed in to change notification settings - Fork 0
Description
All the URI, URIprefix, namespace, displayId, and version code in the Util package is very fragile and is should be rewritten.
Here are some notes on needed improvements:
<URI prefix>/<displayId>/<version>
<namespace>/<collection>/<displayId>
SBOL 2 to 3
<namespace> = <URI prefix>
<collection> = <version>
<namespace> = <domain>
<collection> = (<URI prefix> - <domain>)/<version>
for (namespace in set of namespaces)
if <URI prefix> startsWith namespace then
<namespace> = namespace
<collection> = (<URI prefix> - <namespace>)/version
set backport version to <version>
for (namespace in set of namespaces)
if <URI prefix> startsWith namespace then
<namespace> = namespace
<collection> = (<URI prefix> - <namespace>)
set backport version to <version>
SBOL 3 to 2
<URI prefix> = <namespace>/(<collection> - <backport version>)
<displayId> = <displayId>
<version> = <backport version>
<https://synbiohub.org/public/igem/BBa_J23101\> <http://sboltools.org/backport#sbol2version\> "1"