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)