From c4174b572c63c07ac37eea48df08b3ed6cf31261 Mon Sep 17 00:00:00 2001 From: Malte Tashiro Date: Thu, 4 Sep 2025 01:11:44 +0000 Subject: [PATCH] Fix crash when trying to run with all three fields --- as2orgplus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/as2orgplus.py b/as2orgplus.py index 8560b5c..8c75537 100644 --- a/as2orgplus.py +++ b/as2orgplus.py @@ -111,7 +111,7 @@ def main(): clusters_notes = run_notes(args.snapshot, args.regex, args.asrel, args.c2p_threshold) final_clusters = generate_doble_feature_clusters(clusters_org, clusters_notes, "org", "notes") - if ("org" in fields) and ("aka" in fields) and ("notes" in fields) and (len(fields) == 2): + if ("org" in fields) and ("aka" in fields) and ("notes" in fields) and (len(fields) == 3): clusters_notes = run_notes(args.snapshot, args.regex, args.asrel, args.c2p_threshold) clusters_aka = run_aka(args.snapshot, args.asrel, args.c2p_threshold) clusters_org = run_org(args.snapshot)