How to add a file or a folder as a recipe input

Hi @batiste,

In both cases, it should be a path to the file or folder relative to the project folder on Pollination. That means that the file should be already available on Pollination before you pass it to the script. I suspect you are following the example here:

for files simply upload them and use the uploaded path.

    sim_par_local_path = 'sim_par.json'
    sim_par_path = new_study.upload_artifact(sim_par_local_path)

    recipe_inputs = {
        'sim=par': sim_par_path ,
    }

For folders, you have to upload the files in the folder one by one. Then use the relative path to that folder as an input.