Hello,
The protocol in attachment reads a delimited text file that contains: 2 properties from which we can create the names of several text files to be read and a numerical value ('start' property). A subprotocol reads each text file specified in the input and uses 2 numerical values (called 'res_debut' and 'res_fin') to cut the file that has just been read. It writes all the modified text files in the end.
My question is: how can I set dynamically the values of the parameters 'res_debut' and 'res_fin' that are used in the subprotocol, since they are different for each text file? They can be calculated from the property 'start' that is included in the input file (res_debut=start-1 and res_fin=start+2). (In the protocol in attachment I have set the parameters res_debut and res_fin to a fixed value for all files to make it work)
Thank you very much in advance for your help.
PS Put the contents of your_user_dir.zip in your user directory to have access to the input file and all files that need to be read.
