nxtomomill.utils.utils.get_file_name#

nxtomomill.utils.utils.get_file_name(file_name, extension, check=True)[source]#

set the given extension

Parameters
  • file_name (str) – name of the file

  • extension (str) – extension to give

  • check (bool) – if check, already check if the file as one of the ‘_FileExtension’