Skip to content

Commit

Permalink
🐛 (parsers): Don't consider biorxiv as a venue (semantic scholar)
Browse files Browse the repository at this point in the history
  • Loading branch information
vict0rsch committed Nov 27, 2023
1 parent a0196e5 commit c572fe2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/shared/js/utils/parsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -1613,7 +1613,8 @@ const trySemanticScholar = async (paper) => {
miniHash(match.title) === miniHash(paper.title) &&
Math.abs(match.year - paper.year) < 3 &&
match.venue &&
!match.venue.toLowerCase().includes("arxiv")
!match.venue.toLowerCase().includes("arxiv") &&
!match.venue.toLowerCase().includes("biorxiv")
) {
info("Found a Semantic Scholar match");
let venue = match.venue
Expand Down
Loading

0 comments on commit c572fe2

Please sign in to comment.