def padStr(s, field=None):
    if field is None:
        return s
    else:
      if len(s) >= field:
          return s
      else:
          return " " * (field - len(s)) + s
Remove first occurrence the specified item from the main menu
dataset/ETHPy150Open BD2KGenomics/toil/src/toil/utils/toilStats.py/padStr--crossover with--dataset/ETHPy150Open rwl/muntjac/muntjac/ui/menu_bar.py/MenuBar.removeItem