Skip to content
Snippets Groups Projects
Commit fd6c85a1 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Fix with new version of prefactor

parent b8ff8b31
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,8 @@ cwlVersion: v1.0 ...@@ -3,7 +3,8 @@ cwlVersion: v1.0
id: blsmooth id: blsmooth
label: BLsmooth label: BLsmooth
baseCommand: baseCommand:
- BLsmooth.py - python3
- /usr/local/bin/BLsmooth.py
inputs: inputs:
- id: msin - id: msin
type: Directory type: Directory
......
...@@ -36,9 +36,9 @@ arguments: ...@@ -36,9 +36,9 @@ arguments:
extension = "$(inputs.skymodels_extension)" extension = "$(inputs.skymodels_extension)"
output = {} output = {}
if extension != 'null': if extension != 'null':
output = find_skymodel(mss, skymodels, './', extension) output = find_skymodel(mss, skymodels, extension)
else: else:
output = find_skymodel(mss, skymodels, './') output = find_skymodel(mss, skymodels )
cwl_output = {'class': 'File', 'path': output['SkymodelCal']} cwl_output = {'class': 'File', 'path': output['SkymodelCal']}
with open('./out.json', 'w') as fp: with open('./out.json', 'w') as fp:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment