X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/8fb3c55ee009a11db5e1c08a4cfb286979412745..e0eaffd44fc9733bc230a803c80d8d5efd0faca6:/StimuliItem.cpp?ds=inline diff --git a/StimuliItem.cpp b/StimuliItem.cpp index dff5247..861bfc7 100644 --- a/StimuliItem.cpp +++ b/StimuliItem.cpp @@ -614,7 +614,7 @@ void StimuliItem::load(QDomElement funcElement) throw(Exception) { reference = referenceMd5; } - FunctionalBlock* functionalBlock = params->getGraph()->createStimuliBlock(reference); + FunctionalBlock* functionalBlock = params->getGraph()->createStimuliBlock(reference, false); /* NB: createSourceBlock creates all interfaces from the reference, which is annoying when reading bif_iface tags. Thus interface are all removed. */ @@ -644,7 +644,7 @@ void StimuliItem::load(QDomElement funcElement) throw(Exception) { } // recreate all (non-control) interfaces because of some may have a multiplicity>1 with several examplars - functionalBlock->removeAllInterfaces(); + //functionalBlock->removeAllInterfaces(); QDomNodeList interfaceNodes = funcElement.elementsByTagName("source_iface"); // setting interfaces (user name, and for multiplicity>1 may be create some new ones) for(int i=0; igetId())); writer.writeAttribute("name",inter->getName()); - writer.writeAttribute("ref_name",inter->refInter->getName()); + writer.writeAttribute("ref_name",inter->getReferenceName()); writer.writeAttribute("orientation",inter->getStrOrientation()); writer.writeAttribute("position",QString::number(inter->getPositionRatio()));