LoadFiles

From SweepMe! Wiki
Jump to navigation Jump to search

The purpose of the LoadFiles module is to define a list of files. The module performs a variation over all files and returns two variables for the current file: "Path" (the full file path) and "Filename" (the file name without folder and file extension). The file path can then be forwarded to other modules or widgets to perform a certain process for each file.

Usage

  • Use the button "Add files" or drag and drop files from your file explorer into the list.
  • Drag files within the list to change their order. The files are processed from top to bottom.
  • Use "Remove selected files" (or the Delete key) and "Remove all files" to edit the list. Both actions are also available in the right-click menu of the list.
  • Select the variable "Path" in another module, e.g. as Sweep value of the module DataImport, or use it with the Parameter system.

If the list is empty when the run starts, a message asks you to load files.

Examples

  • Load image, sound file and process them
  • Load data and process it with a CustomFunction module