Skip to content
Snippets Groups Projects
Commit 697bf088 authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Give inline scripts sensible names

Some of the inline scripts (bash or python) have names like "script.py",
which is not very helpful for debugging. Renamed the scripts for those
workflows that contained either script.py or script.sh.


Former-commit-id: 05c75d3e
parent 0081e534
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ $namespaces:
id: ms_concat
baseCommand:
- /bin/bash
- script.sh
- ms_concat.sh
inputs:
- default: 50
id: min_length
......@@ -59,7 +59,7 @@ requirements:
listing:
- entry: $(inputs.msin)
writable: true
- entryname: script.sh
- entryname: ms_concat.sh
entry: |
#!/bin/bash
directories=\$(ls -d out_*)
......
......@@ -11,7 +11,7 @@ hints:
baseCommand:
# - aoflagger
- /bin/bash
- script.sh
- aoflag.sh
inputs:
- id: msin
type: Directory[]
......@@ -132,7 +132,7 @@ requirements:
writable: true
- entry: $(inputs.concat_additional_ms)
writable: true
- entryname: script.sh
- entryname: aoflag.sh
entry: |
#!/bin/bash
directories=\$(ls -d out*)
......
......@@ -5,7 +5,7 @@ $namespaces:
id: compare_station_list
baseCommand:
- python3
- script.py
- compare_station_list.py
inputs:
- id: msin
type: Directory[]
......@@ -27,7 +27,7 @@ requirements:
- class: InlineJavascriptRequirement
- class: InitialWorkDirRequirement
listing:
- entryname: script.py
- entryname: compare_station_list.py
entry: |
import sys
import json
......
......@@ -18,12 +18,12 @@ outputs:
baseCommand:
- python3
- script.py
- create_workflow_input.py
doc: ''
requirements:
InitialWorkDirRequirement:
listing:
- entryname: script.py
- entryname: create_workflow_input.py
entry: |
#!/usr/bin/env python3
......
......@@ -5,7 +5,7 @@ baseCommand:
- python3
arguments:
- position: 0
valueFrom: script.py
valueFrom: filter_ms_group.py
inputs:
- id: group_id
type: string
......@@ -36,7 +36,7 @@ requirements:
- class: InlineJavascriptRequirement
- class: InitialWorkDirRequirement
listing:
- entryname: script.py
- entryname: filter_ms_group.py
entry: |
import sys
import json
......
......@@ -5,7 +5,7 @@ $namespaces:
id: findRefAnt_join
baseCommand:
- python3
- script.py
- findRefAnt_join.py
inputs:
- id: flagged_fraction_dict
type: string[]?
......@@ -44,7 +44,7 @@ requirements:
listing:
- entryname: input.json
entry: $(inputs.flagged_fraction_dict)
- entryname: script.py
- entryname: findRefAnt_join.py
entry: |
import sys
import json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment