argopy.utilities.check_cyc#

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

Validate a CYC option and returned it as a list of integers

Parameters
  • cyc (int) – CYC must be an integer or an iterable with elements that can be casted as positive integers

  • errors ({'raise', 'warn', 'ignore'}) – Possibly raises a ValueError exception or UserWarning, otherwise fails silently.

Return type

list(int)