Earlier removal of whitepapers (dont extrapolate from them)
This commit is contained in:
parent
65e8948202
commit
3588587c92
@ -946,6 +946,9 @@ def cliInterface():
|
|||||||
G, books = buildFullGraph(darkMode=args.dark_mode)
|
G, books = buildFullGraph(darkMode=args.dark_mode)
|
||||||
mu, std = genScores(G, books)
|
mu, std = genScores(G, books)
|
||||||
|
|
||||||
|
if not args.keep_whitepapers:
|
||||||
|
removeWhitepapers(G)
|
||||||
|
|
||||||
if args.cmd=="recommend":
|
if args.cmd=="recommend":
|
||||||
if args.tag_based:
|
if args.tag_based:
|
||||||
if args.recommender_based:
|
if args.recommender_based:
|
||||||
@ -972,8 +975,6 @@ def cliInterface():
|
|||||||
removeRead(G)
|
removeRead(G)
|
||||||
elif args.remove_unread:
|
elif args.remove_unread:
|
||||||
removeUnread(G)
|
removeUnread(G)
|
||||||
if not args.keep_whitepapers:
|
|
||||||
removeWhitepapers(G)
|
|
||||||
|
|
||||||
removeDangling(G, alsoBooks=True)
|
removeDangling(G, alsoBooks=True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user