def cuts_from_string(cube, string, member_converters=None, role_member_converters=None):
 if (not string):
  return []
 cuts = []
 dim_cuts = CUT_STRING_SEPARATOR.split(string)
 for dim_cut in dim_cuts:
  cut = cut_from_string(dim_cut, cube, member_converters, role_member_converters)
  cuts.append(cut)
 return cuts

def cuts_from_string ( cube , string , member_converters = None , role_member_converters = None ) : if ( not string ) : return [ ] cuts = [ ] dim_cuts = CUT_STRING_SEPARATOR . split ( string ) for dim_cut in dim_cuts : cut = cut_from_string ( dim_cut , cube , member_converters , role_member_converters ) cuts . append ( cut ) return cuts
return list of cuts specified in string .