Earlier removal of whitepapers (dont extrapolate from them)

This commit is contained in:
Dominik Moritz Roth 2021-10-17 15:48:44 +02:00
parent 65e8948202
commit 3588587c92

View File

@ -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)