importdream.simulation.LineGenerationJSONasManPyMain#import ManPy main JSON script
#Read from the given directory the Excel document with the input data
workbook=xlrd.open_workbook('inputData.xls')
worksheets=workbook.sheet_names()
worksheet_ProcessingTimes=worksheets[0]#Define the worksheet with the Processing times data
inputData=Import_Excel()#Call the Python object Import_Excel
ProcessingTimes=inputData.Input_data(worksheet_ProcessingTimes,workbook)#Create the Processing Times dictionary with key Machines 1,2 and values the processing time data
##Get from the above dictionaries the M1 key and define the following lists with data
M1_ProcTime=ProcessingTimes.get('M1',[])
M2_ProcTime=ProcessingTimes.get('M2',[])
#Call the HandleMissingValues object and replace the missing values in the lists with the mean of the non-missing values