frag_pele/PlopRotTemp_S_2017/PlopRotTemp.py
def parse_mae_line(line):
    ''' 
  Notice that this function is the same than MaeFileBuilder.__tokenizeLine . Try to delete this one once it will be no longer needed
  '''

    output = []
    while (len(line) > 0):
        a = re.search(r'^\s*(\S+)(.*)', line)
        if (a):
            b = re.search(r'\"', a.group(1))
            if (b):
                a = re.search(r'^\s*\"([^\"]*)\"(.*)', line)
                if (a):
                    output.append(a.group(1))
                    line = a.group(2)
                else:
                    print("Error in mae formating\n")
                    return -1;
            else:
                output.append(a.group(1))
                line = a.group(2)
        a = re.search(r'^\s*$', line)
        if (a): 
          break;
    return output
 
  Notice that this function is the same than MaeFileBuilder.__tokenizeLine . Try to delete this one once it will be no longer needed
  
Notice that this function is the same than MaeFileBuilder.__tokenizeLine . Try to delete this one once it will be no longer needed
Notice that this function is the same than MaeFileBuilder . __tokenizeLine . Try to delete this one once it will be no longer needed
def parse_mae_line(line):
    output = []
    while (len(line) > 0):
        a = re.search(r'^\s*(\S+)(.*)', line)
        if (a):
            b = re.search(r'\"', a.group(1))
            if (b):
                a = re.search(r'^\s*\"([^\"]*)\"(.*)', line)
                if (a):
                    output.append(a.group(1))
                    line = a.group(2)
                else:
                    print("Error in mae formating\n")
                    return -1;
            else:
                output.append(a.group(1))
                line = a.group(2)
        a = re.search(r'^\s*$', line)
        if (a): 
          break;
    return output
def parse_mae_line ( line ) : output = [ ] while ( len ( line ) > 0 ) : a = re . search ( r'^\s*(\S+)(.*)' , line ) if ( a ) : b = re . search ( r'\"' , a . group ( 1 ) ) if ( b ) : a = re . search ( r'^\s*\"([^\"]*)\"(.*)' , line ) if ( a ) : output . append ( a . group ( 1 ) ) line = a . group ( 2 ) else : print ( "Error in mae formating\n" ) return - 1 ; else : output . append ( a . group ( 1 ) ) line = a . group ( 2 ) a = re . search ( r'^\s*$' , line ) if ( a ) : break ; return output
Notice that this function is the same than MaeFileBuilder.__tokenizeLine .
Notice that this function is the same than MaeFileBuilder . __tokenizeLine .
''' 
  Notice that this function is the same than MaeFileBuilder.__tokenizeLine . Try to delete this one once it will be no longer needed
  '''
line