Any reason to avoid duplicate filenames across subfolders? (Pavlovia)

Hi all,

I have an experiment where I have png files named in the format [ref_1.png, ref_2_.png, …, ref_9.png].

This format is repeated in several folders, but the actual images are different:

C://Experiment//
|-|//P1:
| |-----ref_1.png
| |-----ref_2.png
|
|-|//P2:
| |-----ref_1.png
| |-----ref_2.png
|
|-|//P3:
| |-----ref_1.png
| |-----ref_2.png

Is there any issue with having duplicate filenames across several folders? I’m not sure if this might interact poorly with web caching or something. I’m worried about showing the an image from another condition unintentionally. I can easily change it of course, but I noticed this hadn’t been asked (via searchbar).

Thanks,

Martin.

Hi Martin,

As far as I am aware so long as these have differing paths it should still function as expected. The safest approach to be sure is to make a minimally working example of this and test online (just 2 trials from each of your conditions and check all is as you expect).

Becca