Currently, the input parameters of start_apercal_pipeline() have different format. The target is a single tupel with three items (taskid, source name, array of beams), while fluxcal and polcal is an array of tupels [(scanid, cal name, beam),()...]. It would simplify handling these three parameters if their layout would be consistent with each other and probably if they are only made of arrays.
Currently, the input parameters of start_apercal_pipeline() have different format. The target is a single tupel with three items (taskid, source name, array of beams), while fluxcal and polcal is an array of tupels [(scanid, cal name, beam),()...]. It would simplify handling these three parameters if their layout would be consistent with each other and probably if they are only made of arrays.