Hello,
I’m trying to create a workflow which gets as input a File[]
(let’s call it parameter par1
) and several other inputs (booleans, ints, other File
…).
Given that the quantity of Files constituting par1
is quite large, I’d like to find a way to simplify and isolate the par1
part when writing the inputs.
Currently I’m compiling a yaml file with something like:
par1:
- {class: File, path: ../path/to/file_001.lv0}
- {class: File, path: ../path/to/file_002.lv0}
- {class: File, path: ../path/to/file_003.lv0}
- {class: File, path: ../path/to/file_004.lv0}
- {class: File, path: ../path/to/file_005.lv0}
- {class: File, path: ../path/to/file_006.lv0}
- {class: File, path: ../path/to/file_007.lv0}
- {class: File, path: ../path/to/file_008.lv0}
- {class: File, path: ../path/to/file_009.lv0}
Is there a way to get the input filenames from an external file?
I saw there’s the $include
directive but I believe is not applicable to yaml file.
If it’s not possible, I’m headed towards the creation of an Expression Tool which tries to generates the File[]
from a file.txt. Do you have better ideas?
Thanks,
Michele