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 – name of the file

  • extension – extension to give

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