file_or_short_name

Import in python using from mcutils.cudimot import file_or_short_name

mcutils.cudimot.file_or_short_name(tree: fsl.utils.filetree.filetree.FileTree, name, check=True)[source]

Returns full filename from tree

Parameters
  • tree – FileTree

  • name – full filename or short name in tree

  • check – if True raises an error if the file does not exist

Returns

full filename