Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Commit 4fe4db8

Browse files
committed
need the config loaded earlier
1 parent 71c9181 commit 4fe4db8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algo/src/main/java/org/neo4j/graphalgo/LabelPropagationProc.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public Stream<LabelPropagationStats> labelPropagation(
8989

9090
LabelPropagationStats.Builder stats = new LabelPropagationStats.Builder()
9191
.iterations(iterations)
92+
.partitionProperty(partitionProperty)
9293
.weightProperty(weightProperty);
9394

9495
GraphLoader graphLoader = graphLoader(configuration, partitionProperty, weightProperty, createPropertyMappings(partitionProperty, weightProperty));
@@ -110,7 +111,6 @@ public Stream<LabelPropagationStats> labelPropagation(
110111
final int[] labels = compute(direction, iterations, batchSize, concurrency, graph, stats);
111112
if (configuration.isWriteFlag(DEFAULT_WRITE) && partitionProperty != null) {
112113
stats.withWrite(true);
113-
stats.partitionProperty(partitionProperty);
114114
write(concurrency, partitionProperty, graph, labels, stats);
115115
}
116116

0 commit comments

Comments
 (0)