Skip to content

Commit

Permalink
Merge pull request #405 from SynBioDex/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
cjmyers authored Nov 14, 2016
2 parents edfcc04 + 9247d90 commit ee54f45
Show file tree
Hide file tree
Showing 118 changed files with 12,617 additions and 688 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -881,8 +881,10 @@ public Set<SequenceAnnotation> getSequenceAnnotations() {
private void getSuccessorComponents(HashMap<Component,Set<Component>> successorMap,
Component component, Set<Component> visited) throws SBOLValidationException {
if (visited.contains(component)) {
//throw new SBOLValidationException("Cycle in sequence constraints");
throw new SBOLValidationException("sbol-10605", component);
// TODO: cycle detected. This needs to be handled better.
throw new SBOLValidationException("Cycle in sequence constraints");
//throw new SBOLValidationException("sbol-10605", component);
//return;
}
visited.add(component);
for (SequenceConstraint sc : this.getSequenceConstraints()) {
Expand Down
204 changes: 127 additions & 77 deletions core2/src/main/java/org/sbolstandard/core2/SBOLReader.java

Large diffs are not rendered by default.

Loading

0 comments on commit ee54f45

Please sign in to comment.