Commit dd3e2bb7 authored by Gino Tosti's avatar Gino Tosti
Browse files

typos corrected

parent 024147b4
Loading
Loading
Loading
Loading

test/AMC_ICD_Table.xlsx

deleted100755 → 0
−20 KiB

File deleted.

+21 −32
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ import subprocess
from GenDevice.genFromTemplates import genFromTemplates
from GenDevice.createEmptyCDB import *
from GenDevice.acsUtils import *
import pandas as pd

if __name__ =="__main__":
	parser = OptionParser()
@@ -35,7 +36,7 @@ if __name__ =="__main__":
		print ("ACS Enviroment is not set")
		exit()
	pwd=os.getcwd()
	excel_file =options.book_file
	excel_file =options.bookfile
	wb=excelIcd(excel_file)
	devs=wb.MainSheet['Device Name']
	comp=wb.MainSheet['Component Name']
@@ -66,41 +67,29 @@ if __name__ =="__main__":
			  introot = os.environ["INTROOT"]
			  if introot=="":
			     print("INTROOT variable is not set")
				exit()
			  else:
			     os.chdir(mygen._dirs['src'])
			     print ("Make Build ")
			     command="make clean all"
			     print (command)
			     if execACSCommand(command):
				print ("ERROR executing: ",command,) 
			        print ("ERROR executing: ",command) 
			     os.chdir(pwd)
	else:
		mygen=genFromTemplates(options.book_file,options.prefix,options.module,options.basedir)
		mygen=genFromTemplates(options.bookfile,options.prefix,options.module,options.basedir)
		mygen.generateFileInDir()
		if options.install :
		  introot = os.environ["INTROOT"]
		  if introot=="":
		     print("INTROOT variable is not set")
			exit()
		  else:
		     os.chdir(mygen._dirs['src'])
		     print ("Make Build ")
		     command="make clean all"
		     print (command)
		  if execACSCommand(command):
			print ("ERROR executing: ",command,) 
		  os.chdir(pwd)
	  """else:
	    command ="make install"
		     if execACSCommand(command):
		        print ("ERROR executing: ",command) 
		     os.chdir(pwd)
	       exit()
	  os.chdir(pwd)
	  
	  command="cdbChecker"
	  if execACSCommand(command):
	    print ("ERROR executing: ",command)
	    exit()"""
	print ("ALL Done")
		
	

test/myDeviceInterfaces.xls

deleted100755 → 0
−41.5 KiB

File deleted.

test/testDeviceInterfaces.xls

deleted100755 → 0
−41.5 KiB

File deleted.