merger = new Merger(SimpleEditorMap.get(target.getLevel()));
}
merger.merge(target, sources.toArray(new Model[sources.size()]));
BioPAXReader reader = new BioPAXReader(target);
BioPAXGraph graph = (BioPAXGraph) reader.readXMLFile(null);
if (createNewPathway)
{
List<String> intids = getInteractionIDs(model);
newPathwayName = graph.createPathway(