Closed liyawang closed 7 years ago
For merging, to get individual filenames, do following files=($input_folder/*)
Then access each file as ${files[0]}, ${files[1]}, ...
For apps before merging, try to append input filename to output filenames so they won't overlap with merging. But the output folder name is the same since SciApps/Agave is forcing that for building a workflow.
Since Agave will copy both to the same folder, they will be replaced with each other. Alternatively, they can be put in a folder with different file names. The following test works fine: