Script will create a series of shell commands, each one calling the master metashape control script with a specific photo directory and YAML config file. Detect whether on cluster or local machine and create shell commands appropriately. Potentially create one folder for all outputs of the batch.
The photo directory is now specified in the YAML so it does not need to be an argument to the shell command. Instead, the batch job creating script could create YAML files with slight variations.
Script will create a series of shell commands, each one calling the master metashape control script with a specific photo directory and YAML config file. Detect whether on cluster or local machine and create shell commands appropriately. Potentially create one folder for all outputs of the batch.