@@ -0,0 +1,2228 @@
+%0A/*%0A * Copyright (C) 2016 ICOS Group, Newcastle University.  All rights reserved.%0A * Contact:  James Alastair McLaughlin %3Cj.a.mclaughlin@ncl.ac.uk%3E%0A *%0A * Redistribution and use in source and binary forms, with or without%0A * modification, are permitted provided that the following conditions%0A * are met:%0A *  %0A * 1. Redistributions of source code must retain the above copyright%0A *    notice, this list of conditions and the following disclaimer.%0A *  %0A * 2. Redistributions in binary form must reproduce the above copyright%0A *    notice, this list of conditions and the following disclaimer in the%0A *    documentation and/or other materials provided with the distribution.%0A * %0A * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS %60%60AS IS'' AND%0A * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE%0A * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE%0A * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE%0A * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL%0A * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS%0A * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)%0A * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT%0A * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY%0A * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF%0A * SUCH DAMAGE.%0A */%0A%0A%22use strict%22;%0A%0Avar loadIdentified = require('./loadIdentified');%0A%0Amodule.exports = function loadSequenceConstraint(sbolDocument, sequenceConstraint, triples) %7B%0A%0A    loadIdentified(sbolDocument, sequenceConstraint, triples).forEach((triple) =%3E %7B%0A%0A        var predicate = triple.predicate.toString(),%0A            object = triple.object.toString();%0A%0A        switch(predicate) %7B%0A%0A            case 'http://sbols.org/v2#restriction':%0A                sequenceConstraint.restriction = object%0A                break;%0A%0A            case 'http://sbols.org/v2#subject':%0A                sequenceConstraint.subject = object;%0A                break;%0A%0A            case 'http://sbols.org/v2#object':%0A                sequenceConstraint.object = object;%0A                break;%0A        %7D%0A    %7D);%0A%7D%0A%0A%0A

Implement loadSequenceConstraint