Index -1 not working for automatic num_SBs_per_group when doing selfcal
In the target workflow the -1
index for automatically setting a full-bandwidth concat for selfcal does not seem to work for me:
https://git.astron.nl/RD/LINC/-/blob/master/workflows/linc_target.cwl#L244
- id: num_SBs_per_group
source:
- num_SBs_per_group
- selfcal
valueFrom: '$(self[0] == null ? (self[-1] ? -1 : null) : self[0])'
Changing it to self[1]
seems to work ok. I thought we caught this during the final stages of !175 (merged), but maybe it slipped back in.
Edited by Frits Sweijen