Skip to content
Snippets Groups Projects

Implement check for missing evgenkeywords

Merged Spyros Argyropoulos requested to merge lp into master
1 file
+ 3
7
Compare changes
  • Side-by-side
  • Inline
+ 3
7
@@ -78,7 +78,7 @@ generateTfDict={
'transform':[],
'inputFilesPerJob':[],
'inputGeneratorFile':[],
'evgenkeywords':[]
'evgenkeywords':['found']
}
perfMonDict={
@@ -160,7 +160,7 @@ def checkLine(line, lineIdentifier, dict, splitby):
continue
elif param=="evgenkeywords":
if "Could not find evgenkeywords.txt" in line:
dict[param].append("not found")
dict[param]=[]
continue
else:
if param in line:
@@ -445,7 +445,7 @@ def main():
generateTfDict["ecmEnergy"].append("13000")
for key in list(generateTfDict.keys()):
optionalTests=['inputGeneratorFile', 'evgenkeywords']
optionalTests=['inputGeneratorFile']
val=generateTfDict[key]
if not len(val):
if key not in optionalTests:
@@ -483,10 +483,6 @@ def main():
if int(val) > 100:
logerr(f"- {key} = ",f"{val} <- ERROR: Need to use less than 100.")
continue
elif key == 'evgenkeywords':
if val[0] == 'not found':
logerr(f"- {key} = ",f"{val[0]} <- ERROR: check the jO")
continue
else:
val=val[0]
loginfo(f"- {key} = ",f"{val}")
Loading