Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LINC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ResearchAndDevelopment
LINC
Commits
b0e05d6f
Commit
b0e05d6f
authored
5 years ago
by
Mattia Mancini
Browse files
Options
Downloads
Patches
Plain Diff
Remove unnecessary files
Former-commit-id:
b081f26e
parent
6ecbf524
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
steps/RadioDatatypes.yaml
+0
-8
0 additions, 8 deletions
steps/RadioDatatypes.yaml
steps/find_skymodel_cal.cwl
+0
-59
0 additions, 59 deletions
steps/find_skymodel_cal.cwl
with
0 additions
and
67 deletions
steps/RadioDatatypes.yaml
deleted
100644 → 0
+
0
−
8
View file @
6ecbf524
type
:
array
name
:
MeasurementSet
label
:
The measurement set data location
items
:
-
name
:
main_directory
type
:
Directory
inputBinding
:
position
:
0
This diff is collapsed.
Click to expand it.
steps/find_skymodel_cal.cwl
deleted
100644 → 0
+
0
−
59
View file @
6ecbf524
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment