def get_generated_title(file_path, preset):
        """ Title with file short name and ranges

        """
        return "{0} {1} {2}".format(get_file_shortname(file_path),
                                    preset[presets.IN_RANGE],
                                    preset[presets.OUT_RANGE])
示例#2
0
    def get_generated_title(file_path, preset):
        """ Title with file short name and ranges

        """
        return "{0} {1} {2}".format(get_file_shortname(file_path),
                                    preset[presets.IN_RANGE],
                                    preset[presets.OUT_RANGE])
    def get_export_message(file_path):
        """ Get export message

        Returns:
            .str

        """
        return ("a new LUT was written in {1}"
                ).format(get_file_shortname(file_path), file_path)
示例#4
0
    def get_export_message(file_path):
        """ Get export message

        Returns:
            .str

        """
        return ("a new LUT was written in {1}").format(
            get_file_shortname(file_path), file_path)