Skip to content
Snippets Groups Projects
Commit 9d7f16e0 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-849: little fix for handling non-mandatory stations property

parent e5d31684
No related branches found
No related tags found
3 merge requests!634WIP: COBALT commissioning delta,!513TMSS-849,!481Draft: SW-971 SW-973 SW-975: Various fixes to build LOFAR correctly.
...@@ -220,7 +220,7 @@ def _convert_beamformer_settings_to_parset_dict(subtask: models.Subtask, spec: d ...@@ -220,7 +220,7 @@ def _convert_beamformer_settings_to_parset_dict(subtask: models.Subtask, spec: d
sap_idx = _sap_index(digi_beams, sap['name']) sap_idx = _sap_index(digi_beams, sap['name'])
# Generate coherent TABs for each antenna field # Generate coherent TABs for each antenna field
stations = pipeline['stations'] or spec['stations']['station_list'] stations = pipeline.get('stations') or spec['stations']['station_list']
antennaset = spec['stations']['antenna_set'] antennaset = spec['stations']['antenna_set']
fields = sum([list(antenna_fields(station, antennaset)) for station in stations], []) fields = sum([list(antenna_fields(station, antennaset)) for station in stations], [])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment