argopy.utilities.check_cyc#

check_cyc(lst, errors='raise')[source]#

Validate a CYC option and returned it as a list of integers :param cyc: CYC must be an integer or an iterable with elements that can be casted as positive integers :type cyc: int :param errors: Possibly raises a ValueError exception or UserWarning, otherwise fails silently. :type errors: {‘raise’, ‘warn’, ‘ignore’}

Return type

list(int)