From 591b684c03a6c06539d7061805800ef66122a3d7 Mon Sep 17 00:00:00 2001 From: Matthias Blum Date: Thu, 15 Feb 2024 20:47:47 +0000 Subject: [PATCH] Fix graph creation --- .../management/model/implementations/PrepareForOutputStep.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/management/src/main/java/uk/ac/ebi/interpro/scan/management/model/implementations/PrepareForOutputStep.java b/core/management/src/main/java/uk/ac/ebi/interpro/scan/management/model/implementations/PrepareForOutputStep.java index 101e0bfa12..1982efdb94 100644 --- a/core/management/src/main/java/uk/ac/ebi/interpro/scan/management/model/implementations/PrepareForOutputStep.java +++ b/core/management/src/main/java/uk/ac/ebi/interpro/scan/management/model/implementations/PrepareForOutputStep.java @@ -1121,7 +1121,7 @@ public int compare(Domain d1, Domain d2) { for (int j = 0; j < bestDomainsInGroup.size(); j++) { if (i != j) { - edges.add(i); + edges.add(j); } } @@ -1142,7 +1142,6 @@ public int compare(Domain d1, Domain d2) { } List> subgroups = new DomainResolver(graph).resolve(); - int maxCoverage = 0; int maxPfams = 0; List bestSubgroup = null;