nxtomomill.io.utils.convert_str_to_tuple#

nxtomomill.io.utils.convert_str_to_tuple(input_str: str, none_if_empty: bool = False) Union[None, tuple][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