colour_clf_io.write_clf#

colour_clf_io.write_clf(process_list: ProcessList, path: str | Path | None = None, namespace: Namespaces = Namespaces.AMPAS) None | str[source]#

Write the given ProcessList as a CLF file to the target location. If no path is given the CLF document will be returned as a string.

Parameters:
  • process_list (ProcessList) – ProcessList that should be written.

  • path (str | Path | None) – Location of the file, or None to return a string representation of the CLF document.

  • namespace (Namespaces) – colour_clf_io.Namespaces instance to be used for the namespace of the document.

Return type:

colour_clf_io.ProcessList