171172173174175176177178179180181
sources.add(model); Model target = main.getOwlModel(); if (merger == null) { merger = new Merger(new JenaEditorMap(BioPAXLevel.L2)); } merger.merge(target, sources.toArray(new Model[sources.size()])); BioPAXReader reader = new BioPAXReader(target);