def step01(paramFile): util = ParameterUtil(parameter_file=paramFile) astroPh = Formating(util.graph_file) astroPh.subject = 'cond-mat' astroPh.yearstoRescue = [1994, 1995, 1996, 1997, 1998, 1999] astroPh.readingOrginalDataset() #astroPh.generating_graph() astroPh.saveGraph()
''' Created on Aug 22, 2015 @author: cptullio First Step is the generation of the graph from the database informations. We will need the file of parameter to indicate the place where the graph will be saved ''' from parametering.ParameterUtil import ParameterUtil from formating.arxiv.Formating import Formating if __name__ == '__main__': util = ParameterUtil(parameter_file = 'data/formatado/arxiv/nowell_condmat_2004_2010.txt') astroPh = Formating(util.graph_file) #astroPh.readingOrginalDataset() astroPh.generating_graph() astroPh.saveGraph()
''' Created on Aug 22, 2015 @author: cptullio First Step is the generation of the graph from the database informations. We will need the file of parameter to indicate the place where the graph will be saved ''' from parametering.ParameterUtil import ParameterUtil from formating.arxiv.Formating import Formating if __name__ == '__main__': util = ParameterUtil( parameter_file='data/formatado/duarte/nowell_duarte_2004_2010.txt') astroPh = Formating(util.graph_file) #astroPh.readingOrginalDataset() astroPh.generating_graph() astroPh.saveGraph()