Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Add a folder replicator

#57

You give it a directory path, and it iterates over the (non-hidden, regular) files in the directory, assigning the name of each to a local variable in turn. It could be used in an experiment like so:

<folder_replicator tag="New Folder Replicator" path="/folder/with/images" variable="filename">
    <stimulus type="image_file" tag="${filename}" path="/folder/with/images/${filename}" ...></stimulus>
</folder_replicator>

Probably, this should only be allowed in the "Stimuli" section of the experiment.

Reported by Christopher Stawarz · September 16th, 2010 @ 12:19 PM

State: resolved
Milestone: 0.4.5
Assigned to: Christopher Stawarz Christopher Stawarz

Activity

  1. Christopher Stawarz
  2. Christopher Stawarz
    Christopher Stawarz
    • State changed from new to resolved
    • Milestone set to 0.4.5
    • Assigned user set to Christopher Stawarz
    • Milestone order changed from 168154 to 0

    Completed in mw_core commit f120cc90ed0944e1e0b55edd34e19ebf1239be44

    As discussed on Tender, rather than creating a new folder_replicator element, I added equivalent functionality to list_replicator via the filenames(...) directive.

    October 20th, 2010 @ 04:54 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.