def mainW(thePath,initFolder,arRecLoc,arEdgeLoc,ccRecLoc,ccEdgeLoc,gangOrFac,delim): analy.initDirs(thePath,initFolder,arRecLoc,arEdgeLoc,ccRecLoc,ccEdgeLoc) analy.runConversion(thePath,initFolder,gangOrFac,delim) fixpt.cpdFp(thePath,initFolder) res.cleanupData(thePath, initFolder,delim) oa.analyze(thePath,initFolder,delim)
def mainW( thePath, initFolder, arRecLoc, arEdgeLoc, nonArRecLoc, nonArEdgeLoc, remNodesLoc, dateLimit, gangOrFac, delim ): analy.initDirs(thePath, initFolder, arRecLoc, arEdgeLoc, nonArRecLoc, nonArEdgeLoc, remNodesLoc, dateLimit) analy.runConversion(thePath, initFolder, gangOrFac, delim) fixpt.cpdFp(thePath, initFolder) res.cleanupData(thePath, initFolder, delim) oa.analyze(thePath, initFolder, delim)
def whatIf(thePath, initFolder, copiedFolder, nodesToDel, delim): dupe(thePath, initFolder, copiedFolder) delNodes(thePath, copiedFolder, nodesToDel) os.chdir(os.path.join(thePath, copiedFolder)) for fileName in os.listdir(os.path.join(thePath, copiedFolder)): if fileName.find(initFolder) > -1: newFn = fileName.replace(initFolder, copiedFolder) os.rename(fileName, newFn) res.cleanupData(thePath, copiedFolder, delim) orgAn.analyze(thePath, copiedFolder, delim)