caracal-pipeline / caracal

Containerized Automated Radio Astronomy Calibration (CARACal) pipeline
GNU General Public License v2.0
28 stars 6 forks source link

Still facing the exact same 'Flag summary error' #1463

Closed rramij closed 1 year ago

rramij commented 1 year ago

Facing the exact same 'Flag summary error' in #1422 Then added the antennas as follows:

transform:
  enable: true
  label_out: cal
  field: calibrators
  split_field:
    enable: true
    col: data
    antennas: 'C00,C01,C02,C03,C04,C05,C06,C08,C09,C10,C11,C12,C13,C14,E02,E03,E04,E05,E06,S01,S02,S03,S04,S06,W01,W02,W03,W04,W05,W06&'

Now the pipeline stops running. Returning below error:

2022-12-23` 15:23:12 CARACal INFO: Invoked as /home/rramij/venv/bin/caracal -ct singularity -c uGMRT_pipe.yml -sid /home/rramij/singularity_images
2022-12-23 15:23:13 CARACal ERROR: configuration file uGMRT_pipe.yml fails to validate, list of errors follows:
  transform:
    - Key 'antennas' was not defined. Path: '/transform/split_field'
``

Originally posted by @rramij in https://github.com/caracal-pipeline/caracal/issues/1422#issuecomment-1363962347

Athanaseus commented 1 year ago

Thanks for reporting this.

The feature for splitting by antenna should exist in the master branch (Solved in #1428). If you are using the latest release unfortunately this won't be available.

You can install the master branch directly since this has a lot of recent bug fixes that haven't made it into a release yet.