Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SBOL generation error with reverse-comp #98

Open
dany-fu opened this issue Aug 25, 2020 · 1 comment
Open

SBOL generation error with reverse-comp #98

dany-fu opened this issue Aug 25, 2020 · 1 comment

Comments

@dany-fu
Copy link
Contributor

dany-fu commented Aug 25, 2020

The GOLDBAR:
one-or-more((Cello_promoter then zero-or-one(Cello_promoter) then Cello_ribozyme then Cello_RBS then Cello_CDS then Cello_terminator) or reverse-comp(Cello_promoter then zero-or-one(Cello_promoter) then Cello_ribozyme then Cello_RBS then Cello_CDS then Cello_terminator))

Categories:
Use the same Cello categories as the AND examples

Behavior:
Graph and enumerations are generated, but the SBOL file is [undefined]

Error stack:

TypeError: Cannot read property 'combDV' of undefined
    at sbolGeneration.makeSBOLFromStack (/Users/danyfu/Documents/bio-circuit/constellation-js/lib/sbol.js:476:34)
    at generateCombinatorialSBOL (/Users/danyfu/Documents/bio-circuit/constellation-js/lib/edgeSBOL.js:333:11)
    at Object.goldbar (/Users/danyfu/Documents/bio-circuit/constellation-js/lib/constellation.js:96:19)
    at /Users/danyfu/Documents/bio-circuit/constellation-js/demos/server.js:48:32
    at Layer.handle [as handle_request] (/Users/danyfu/Documents/bio-circuit/constellation-js/node_modules/express/lib/router/layer.js:95:5)
    at next (/Users/danyfu/Documents/bio-circuit/constellation-js/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/Users/danyfu/Documents/bio-circuit/constellation-js/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/Users/danyfu/Documents/bio-circuit/constellation-js/node_modules/express/lib/router/layer.js:95:5)
    at /Users/danyfu/Documents/bio-circuit/constellation-js/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/Users/danyfu/Documents/bio-circuit/constellation-js/node_modules/express/lib/router/index.js:335:12)
@dany-fu
Copy link
Contributor Author

dany-fu commented Aug 25, 2020

No error if the zero-or-one(Cello_promoter) portion of the specification is removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant