Skip to content

Instantly share code, notes, and snippets.

@philippbayer
Created October 22, 2018 02:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philippbayer/c2372eedd7b995b2685b969d664a829c to your computer and use it in GitHub Desktop.
Save philippbayer/c2372eedd7b995b2685b969d664a829c to your computer and use it in GitHub Desktop.
Check authors and reviewers
''' 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())
@philippbayer
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment