X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/8fb3c55ee009a11db5e1c08a4cfb286979412745..4327c2b8817b627249d98d889835726217c81a4e:/StimuliItem.cpp?ds=sidebyside diff --git a/StimuliItem.cpp b/StimuliItem.cpp index dff5247..4bc4f31 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; i