nxtomomill.io.utils.convert_str_to_tuple#

nxtomomill.io.utils.convert_str_to_tuple(input_str, none_if_empty=False)[source]#
Parameters
  • input_str (str) – string to convert

  • none_if_empty (bool) – if true and the conversion is an empty tuple return None instead of an empty tuple

Return type

Optional[tuple]