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)