Skip to content
Snippets Groups Projects
prefactor_calibrator_test.cwl 2.99 KiB
Newer Older
class: Workflow
cwlVersion: v1.0
id: prefactor_calibrator
label: prefactor_calibrator
$namespaces:
  sbg: 'https://www.sevenbridges.com/'
inputs:
  - id: raw_data
    type: boolean
    'sbg:x': -634
    'sbg:y': -688
  - id: demix
    type: boolean
    'sbg:x': -639.3313598632812
    'sbg:y': -271
  - id: msin
    type: 'Directory[]'
    'sbg:x': -635
    'sbg:y': -543
  - id: memoryperc
    type: int
    'sbg:x': -634
    'sbg:y': -411
  - id: baselines_to_flag
    type: 'string[]'
    'sbg:x': -635.8651123046875
    'sbg:y': -148
  - id: min_separation
    type: float?
    'sbg:x': -638.4987182617188
    'sbg:y': 31.238996505737305
  - id: A-Team_sky_model
    type:
      - string?
      - File?
    default: '/data/skymodels/Ateam_LBA_CC.skymodel'
    'sbg:x': -889.9927978515625
    'sbg:y': -845.9927978515625
outputs:
  - id: check_Ateam_separation.png
    outputSource:
      - check_ateam_separation/output_imag
    type: File[]?
    'sbg:x': 68.06497955322266
    'sbg:y': -3.1985559463500977
  - id: check_Ateam_separation.log
    outputSource:
      - check_ateam_separation/logfile
    type: File[]?
    'sbg:x': 83.07220458984375
    'sbg:y': 136.60289001464844
  - id: make_sourcedb_ateam.log
    outputSource:
      - make_sourcedb/log
    type: File?
    'sbg:x': 71.66065216064453
    'sbg:y': -880.4981689453125
  - id: msout
    outputSource:
      - ndppp_prep_cal/msout
    type: Directory[]
    'sbg:x': 52.33274459838867
    'sbg:y': -546.0951538085938
  - id: logfile_prep_cal
    outputSource:
      - ndppp_prep_cal/logfile
    type: File[]?
    'sbg:x': 43.325523376464844
    'sbg:y': -371.35504150390625
steps:
  - id: ndppp_prep_cal
    in:
      - id: baselines_to_flag
        default: []
        source:
          - baselines_to_flag
      - id: elevation_to_flag
        default: 0deg..20deg
      - id: min_amplitude_to_flag
        default: 1.e-30
      - id: memoryperc
        default: 20
        source: memoryperc
      - id: raw_data
        source: raw_data
      - id: demix
        source: demix
      - id: msin
        linkMerge: merge_flattened
        source:
          - msin
      - id: skymodel
        source: make_sourcedb/sourcedb
    out:
      - id: msout
      - id: logfile
    run: ../subworkflow/ndppp_prep_cal.cwl
    label: ndppp_prep_cal
    scatter:
      - msin
    'sbg:x': -359
    'sbg:y': -519
  - id: check_ateam_separation
    in:
      - id: ms
        source:
          - msin
      - id: min_separation
        source: min_separation
    out:
      - id: output_imag
      - id: logfile
    run: ../steps/check_ateam_separation.cwl
    label: check_Ateam_separation
    'sbg:x': -331.452392578125
    'sbg:y': 23.596216201782227
  - id: make_sourcedb
    in:
      - id: sky_model
        source: A-Team_sky_model
    out:
      - id: sourcedb
      - id: log
    run: ../steps/makesourcedb.cwl
    label: make_sourcedb_ateam
    'sbg:x': -628.7400512695312
    'sbg:y': -847.117919921875
requirements:
  - class: SubworkflowFeatureRequirement
  - class: ScatterFeatureRequirement