From 2df419e40394fa55c0b24590076ded19feb7bcea Mon Sep 17 00:00:00 2001
From: mancini <mancini@astron.nl>
Date: Mon, 9 Dec 2019 16:03:57 +0100
Subject: [PATCH] Remove unnecessary files

Former-commit-id: b0e05d6f474507fc52706ee512fbab3cc78ca399 [formerly b081f26e90c41f5088cf44ca2de5e2d6ae83e7c3]
Former-commit-id: 994d29a384d680118c2c95b146a3f777cd395814
Former-commit-id: 6878f59fcace8d8e463ce6c3537f12b7df68b90b
---
 steps/RadioDatatypes.yaml   |  8 -----
 steps/find_skymodel_cal.cwl | 59 -------------------------------------
 2 files changed, 67 deletions(-)
 delete mode 100644 steps/RadioDatatypes.yaml
 delete mode 100644 steps/find_skymodel_cal.cwl

diff --git a/steps/RadioDatatypes.yaml b/steps/RadioDatatypes.yaml
deleted file mode 100644
index 0a167954..00000000
--- a/steps/RadioDatatypes.yaml
+++ /dev/null
@@ -1,8 +0,0 @@
-type: array
-name: MeasurementSet
-label: The measurement set data location
-items:
-  - name: main_directory
-    type: Directory
-    inputBinding:
-      position: 0
diff --git a/steps/find_skymodel_cal.cwl b/steps/find_skymodel_cal.cwl
deleted file mode 100644
index 51a1dc4a..00000000
--- a/steps/find_skymodel_cal.cwl
+++ /dev/null
@@ -1,59 +0,0 @@
-class: CommandLineTool
-cwlVersion: v1.0
-$namespaces:
-  sbg: 'https://www.sevenbridges.com/'
-id: find_skymodel_cal_py
-baseCommand:
-  - python3
-inputs:
-    - id: msin
-      type: Directory
-      doc: MS containing the calibrator
-      inputBinding:
-        position: 0
-    - id: skymodels
-      type: Directory
-      doc: Directory containing the sky models
-    - id: skymodels_extension
-      type: string?
-      doc: path extension of the sky models
-
-label: find_skymodel_cal.py
-arguments:
-  - '-c'
-  - |
-    import sys
-
-    from unittest.mock import MagicMock
-    sys.modules['lofarpipe.support.data_map'] = MagicMock()
-
-
-    from find_skymodel_cal import main as find_skymodel
-    import json
-    mss = sys.argv[1:]
-    skymodels = "$(inputs.skymodels.path)"
-
-    extension = "$(inputs.skymodels_extension)"
-    output = {}
-    if extension != 'null':
-        output = find_skymodel(mss, skymodels, './', extension)
-    else:
-        output = find_skymodel(mss, skymodels, './')
-
-    cwl_output = {'class': 'File', 'path': output['SkymodelCal']}
-    with open('./out.json', 'w') as fp:
-        json.dump(cwl_output, fp)
-outputs:
-  - id: output_models
-    type: File
-    outputBinding:
-        loadContents: true
-        glob: 'out.json'
-        outputEval: $(JSON.parse(self[0].contents))
-
-requirements:
-  - class: InlineJavascriptRequirement
-
-hints:
-  DockerRequirement:
-    dockerPull: lofareosc/prefactor-ci:master
-- 
GitLab