Created
October 22, 2018 02:26
-
-
Save philippbayer/c2372eedd7b995b2685b969d664a829c to your computer and use it in GitHub Desktop.
Check authors and reviewers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' authors.txt - first line is one set of people (paper authors), comma separated, | |
second line is the other set (suggested reviewers) ''' | |
names = open('./authors.txt').readlines() | |
first = ['"%s"'%x.strip() for x in names[0].rstrip().split(',')] | |
second = ['"%s"'%x.strip() for x in names[1].rstrip().split(',')] | |
print(first) | |
print(second) | |
import os | |
for a in first: | |
for b in second: | |
print('Pair: %s and %s'%(a,b)) | |
# this will print a lot of noise too! | |
print(os.popen('python2 scholar.py -a %s,%s'%(a,b)).read()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Be aware that of course for common names, Google Scholar will retrieve a whole bunch of results, this does not necessarily indicate that reviewers and authors published together