comparison Marea/marea.py @ 9:7c76e8e319c2 draft

fix cluster file and help section
author bimib
date Wed, 13 Feb 2019 04:01:21 -0500
parents 23ac9cf12788
children 3d77287caf22
comparison
equal deleted inserted replaced
8:68a5f2db55b9 9:7c76e8e319c2
454 tmpAnd.append(l[1]) 454 tmpAnd.append(l[1])
455 l = l[2:] 455 l = l[2:]
456 elif l[0] == 'or': 456 elif l[0] == 'or':
457 flag = False 457 flag = False
458 break 458 break
459 if flag == True: #se ci sono solo AND nella lista 459 if flag == True: #when there are only AND in list
460 tmp.extend(tmpAnd) 460 tmp.extend(tmpAnd)
461 elif flag == False: 461 elif flag == False:
462 tmp.append(tmpAnd) 462 tmp.append(tmpAnd)
463 return tmp 463 return tmp
464 464