setup#

caput.pipeline.tasklib.io.LoadFilesAndSelect.setup()[source]#

Load and store files in a dictionary.

This method iterates through the list of files, loads their contents, and stores them in the self.collection dictionary. If key_format is provided, it is used to generate a key based on the file attributes. Otherwise, the index of the file in the list is used as the key.