From 3588587c9234402a27f4f90d2048f045fb7de0ff Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Sun, 17 Oct 2021 15:48:44 +0200 Subject: [PATCH] Earlier removal of whitepapers (dont extrapolate from them) --- caliGraph.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/caliGraph.py b/caliGraph.py index 31cb904..9719a69 100755 --- a/caliGraph.py +++ b/caliGraph.py @@ -946,6 +946,9 @@ def cliInterface(): G, books = buildFullGraph(darkMode=args.dark_mode) mu, std = genScores(G, books) + if not args.keep_whitepapers: + removeWhitepapers(G) + if args.cmd=="recommend": if args.tag_based: if args.recommender_based: @@ -972,8 +975,6 @@ def cliInterface(): removeRead(G) elif args.remove_unread: removeUnread(G) - if not args.keep_whitepapers: - removeWhitepapers(G) removeDangling(G, alsoBooks=True)