CIDARLAB / knox

Full stack application for creating, combining, and storing combinatorial genetic design spaces.
BSD 3-Clause "New" or "Revised" License
10 stars 9 forks source link

Applying the OROperator with an empty outputSpace to represent zeroOrOne #7

Closed dany-fu closed 5 years ago

dany-fu commented 5 years ago

Expected: two edges between two nodes Actual: one edge

This can be reproduced on the current combinatorial_sbol branch

constellation_optional_one.txt

nroehner commented 5 years ago

Please see my recent commit

https://github.com/CIDARLAB/knox/commit/ffd6bc03ef02621c362d1d307ce8ae0a8cf09a92.

I think this fixes the issue by a adding nodespace with blank edge to the list of input spaces when applyOperator is called with the zero-or-one operator.