def get_filepath_wo_ext(file_spec):
    """
    Get file path without extension

    Parameters
    ----------
    file_spec : DataStruct
        The function use attributes output_dir and fname_wo_ext for construct file path

    Returns
    -------
    out : str
        Constructed file path

    """
    return file_spec.output_dir + '/' + file_spec.fname_wo_ext