Révision 14 prepareQMX/prepareQMX.py

prepareQMX.py (revision 14)
44 44
        
45 45
    myDefinition = None
46 46
    for definition in definitions:
47
        if definition.name == line:
47
        if definition.name.lower() == line.lower():
48 48
            myDefinition = deepcopy(definition)
49 49
            break
50 50
            
......
66 66
        if subsection == "program":
67 67
            continue
68 68
        if subsection == "options":
69
            subsection = 'class.options'
70
        
69
            subsection = 'class.options'        
71 70
        myDefinition.keywords[subsection] = line    
72
        print subsection, myDefinition.keywords[subsection]
73 71
    
74 72
    return myDefinition
75 73

  
......
109 107
definitions.append(QmxCalcDefinition())
110 108

  
111 109
#--- analyze the input file ------------------------------------------------------------------------
112
for section in "high-level", "low-level", "cluster", "system", "job":
110
for section in "high-level", "low-level", "cluster", "system", "job", "embed":
113 111
    #search lines for section
114 112
    lines_section=[]
115 113
    for line in lines:

Formats disponibles : Unified diff