
from caseolap.mesh2pmid import *

'''
Input data directory
'''
parsed_data_inputfile = "./data/pubmed.json"


'''
Output data directory
'''
mesh2pmid_outputfile = "./data/mesh2pmid.json"
mesh2pmid_statfile = "./data/mesh2pmid_stat.json"
logFilePath = "./log/mesh2pmid_log.txt"


'''
Start MeSH to PMID mapping
'''
    
if __name__ == '__main__':
    
    logfile = open(logFilePath, "w") 
    
    '''
    Create MeSH to PMID mapping object
    '''
    mesh2PMID = MeSH2PMID()
    '''
    Create a MeSH to PMID mapping dictionary
    '''
    mesh2PMID.mesh2pmid_mapping(parsed_data_inputfile,mesh2pmid_outputfile,logfile)
    
    '''
    Create MeSH to PMID mapping statistics
    '''
    mesh2PMID.mesh2pmid_mapping_stat(mesh2pmid_statfile,logfile)
    
    
    logfile.close()
    
    
    
    
    


462920aa6e620f393407ce314763f0dfb239a2c5
<mask token>

<mask token>
if __name__ == '__main__':
    logfile = open(logFilePath, 'w')
    """
    Create MeSH to PMID mapping object
    """
    mesh2PMID = MeSH2PMID()
    """
    Create a MeSH to PMID mapping dictionary
    """
    mesh2PMID.mesh2pmid_mapping(parsed_data_inputfile, mesh2pmid_outputfile,
        logfile)
    """
    Create MeSH to PMID mapping statistics
    """
    mesh2PMID.mesh2pmid_mapping_stat(mesh2pmid_statfile, logfile)
    logfile.close()

<mask token>
parsed_data_inputfile = './data/pubmed.json'
<mask token>
mesh2pmid_outputfile = './data/mesh2pmid.json'
mesh2pmid_statfile = './data/mesh2pmid_stat.json'
logFilePath = './log/mesh2pmid_log.txt'
<mask token>
if __name__ == '__main__':
    logfile = open(logFilePath, 'w')
    """
    Create MeSH to PMID mapping object
    """
    mesh2PMID = MeSH2PMID()
    """
    Create a MeSH to PMID mapping dictionary
    """
    mesh2PMID.mesh2pmid_mapping(parsed_data_inputfile, mesh2pmid_outputfile,
        logfile)
    """
    Create MeSH to PMID mapping statistics
    """
    mesh2PMID.mesh2pmid_mapping_stat(mesh2pmid_statfile, logfile)
    logfile.close()

from caseolap.mesh2pmid import *
<mask token>
parsed_data_inputfile = './data/pubmed.json'
<mask token>
mesh2pmid_outputfile = './data/mesh2pmid.json'
mesh2pmid_statfile = './data/mesh2pmid_stat.json'
logFilePath = './log/mesh2pmid_log.txt'
<mask token>
if __name__ == '__main__':
    logfile = open(logFilePath, 'w')
    """
    Create MeSH to PMID mapping object
    """
    mesh2PMID = MeSH2PMID()
    """
    Create a MeSH to PMID mapping dictionary
    """
    mesh2PMID.mesh2pmid_mapping(parsed_data_inputfile, mesh2pmid_outputfile,
        logfile)
    """
    Create MeSH to PMID mapping statistics
    """
    mesh2PMID.mesh2pmid_mapping_stat(mesh2pmid_statfile, logfile)
    logfile.close()


from caseolap.mesh2pmid import *

'''
Input data directory
'''
parsed_data_inputfile = "./data/pubmed.json"


'''
Output data directory
'''
mesh2pmid_outputfile = "./data/mesh2pmid.json"
mesh2pmid_statfile = "./data/mesh2pmid_stat.json"
logFilePath = "./log/mesh2pmid_log.txt"


'''
Start MeSH to PMID mapping
'''
    
if __name__ == '__main__':
    
    logfile = open(logFilePath, "w") 
    
    '''
    Create MeSH to PMID mapping object
    '''
    mesh2PMID = MeSH2PMID()
    '''
    Create a MeSH to PMID mapping dictionary
    '''
    mesh2PMID.mesh2pmid_mapping(parsed_data_inputfile,mesh2pmid_outputfile,logfile)
    
    '''
    Create MeSH to PMID mapping statistics
    '''
    mesh2PMID.mesh2pmid_mapping_stat(mesh2pmid_statfile,logfile)
    
    
    logfile.close()
    
    
    
    
    

