コード例 #1
0
def compare_personids(path):
    '''
    Use this function with back_up_author_paper_associations() to diff personids.
    '''
    fp = open(path, "w")
    pid1_p, pid1_d = group_personid("aidPERSONIDPAPERS_copy", "aidPERSONIDDATA_copy")
    pid2_p, pid2_d = group_personid("aidPERSONIDPAPERS", "aidPERSONIDDATA")
    compare_personid_tables(pid1_p, pid1_d, pid2_p, pid2_d, fp)
コード例 #2
0
def compare_personids(path):
    '''
    Use this function with copy_personids() to diff personids.
    '''
    fp = open(path, "w")
    pid1_p, pid1_d = group_personid("aidPERSONIDPAPERS_copy", "aidPERSONIDDATA_copy")
    pid2_p, pid2_d = group_personid("aidPERSONIDPAPERS", "aidPERSONIDDATA")
    compare_personid_tables(pid1_p, pid1_d, pid2_p, pid2_d, fp)