pytuflow.TCFRunState.output_name

pytuflow.TCFRunState.output_name#

TCFRunState.output_name()#

Returns the file name of the result file without any extension.

Returns:

Name of the result file.

Return type:

str

Examples

>>> tcf = TCF('/path/to/EG16_~s1~_~s2~_002.tcf')
>>> tcf.context('-s1 5m -s2 EXG').output_name()
'EG16_5m_EXG_002'