I have a nested loop where I want to combine certain acids with amines without enumerating the complete matrix. However the loop does not collect the combined results, only the iterations. I have feeling it is something trivial but am not seeing it right now…
This is just a prototype, I want to work with list of up to 40K acids and amines when it works. The purpose is to sample the matrix systematically without enumerating the full matrix first.
Your suggestion gives me the full matrix of 10K combinations, which is not what I want. I want to take the first 5 acids and enumerate the matrix with the first 5 amines, then next 5 acids with next 5 amines, and so on. Hence I expect 20*25 = 500 rows as combined result. Also unclear why a component is needed to make it work but that is OK so long as it works.
@evert.homan_scilifelab.se the first question was that the collection would not work and that was possibly due to the use of Variable loop end instead of Loop end. Also the component might provide additional stability with this somewhat unusual setup.
The next question would be how to plan ahead what you want to do. Maybe you can elaborate more and then we can discuss how to set up such a task efficiently. I might try to take a further look later.