Skip to content

Commit ae0522e

Browse files
committed
[ALGOS-267] feat(algos): Fix bugs for template query;
1 parent a8cae74 commit ae0522e

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

GDBMS_ALGO/community/louvain.gsql

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -376,12 +376,7 @@ CREATE TEMPLATE QUERY GDBMS_ALGO.community.louvain(
376376
s.setAttr(result_attribute, getvid(s.@community_id))
377377
END,
378378
IF file_path != "" THEN
379-
IF v_type_set.size() == 1 THEN
380-
VERTEX node = s.@community_id,
381-
f.println(s, node)
382-
ELSE
383-
VERTEX node = s.@community_id,
384-
f.println(s.type, s, node.type, node)
385-
END
379+
VERTEX node = s.@community_id,
380+
f.println(s.type, s, node.type, node)
386381
END;
387382
}

0 commit comments

Comments
 (0)