def get_candidate_list(value): """Parse the candidate list from a member value Parameters ---------- value: str The value from the member to parse. Usually member['ASN_CANDIDATE'] Returns ------- [ACID, ...] The list of parsed candidates. """ result = [] evaled = evaluate(value) if is_iterable(evaled): result = [ACID(v) for v in evaled] return result
def get_candidate_list(value): """Parse the candidate list from a member value Parameters ---------- value: str The value from the member to parse. Usually member['ASN_CANDIDATE'] Returns ------- [ACID, ...] The list of parsed candidates. """ result = [] evaled = evaluate(value) if is_iterable(evaled): result = [ ACID(v) for v in evaled ] return result