@staticmethod
    def get_header(preset):
        header = ("Colour Cube data {4}\n"
                  "{4}\n\n"
                  "Name\n"
                  "{0}\n"
                  "Description\n"
                  "{1}\n"
                  "Input Colour space - RGB=1, CIEXYZ=2, DENSITY=3\n"
                  "1\n"
                  "Output Colour space - RGB=1, CIEXYZ=2, DENSITY=3\n"
                  "1\n"
                  "Size x,y,z\n"
                  "{2},{2},{2}\n"
                  "Name component A\n"
                  "component A\n"
                  "Name component B\n"
                  "component B\n"
                  "Name component C\n"
                  "component C\n"
                  "Creation Date\n"
                  "{3}\n"
                  "Data\n"
                  ).format(preset[presets.TITLE],
                           preset[presets.COMMENT],
                           preset[presets.CUBE_SIZE],
                           datetime.datetime.now(),
                           preset[presets.VERSION]
                           )
        return header
Return a dictionary of content, for documents, objects and errors.
dataset/ETHPy150Open mikrosimage/ColorPipe-tools/utils/clcc_helper.py/CLCCHelper.get_header--crossover with--dataset/ETHPy150Open core-api/python-client/coreapi/codecs/corejson.py/_get_content