Skip to content

using SBOLutil.toJson or .toRDF should work for any SBOL object #24

@mgaldzic

Description

@mgaldzic

feeding a null Library like below
throws " java.lang.NoClassDefFoundError: org/sbolstandard/libSBOLj/Library"
Library could be optional if spec allowed for it. - might require change of spec

Library library = new Library();
DnaComponent dnaComponent;
String sbolString;
dnaComponent = SBOLutil.readRichSequence(richSequence);
library.addComponent(dnaComponent);
sbolString = SBOLutil.toJson(library);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions