summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2020-06-20 17:59:36 +0200
committermormj <34754695+mormj@users.noreply.github.com>2020-06-24 11:36:46 -0400
commit2d30dff9cb4a049c137dd869180cf55918f9ddf8 (patch)
tree69ebff8a73a56d285091cc6593bd4dd674caabad
parent2db4bb9d31001ab4f96dfe087b18586c6ab27f35 (diff)
modtool: Don't produce broken YAML by default
-rw-r--r--gr-utils/modtool/templates/templates.py33
1 files changed, 17 insertions, 16 deletions
diff --git a/gr-utils/modtool/templates/templates.py b/gr-utils/modtool/templates/templates.py
index f384bd18a1..7ae4e8c58a 100644
--- a/gr-utils/modtool/templates/templates.py
+++ b/gr-utils/modtool/templates/templates.py
@@ -523,12 +523,13 @@ templates:
# * label (label shown in the GUI)
# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...)
parameters:
-- id: ...
- label: ...
- dtype: ...
-- id: ...
- label: ...
- dtype: ...
+- id: parametername_replace_me
+ label: FIX ME:
+ dtype: string
+ value: You need to fill in your grc/${modname}_${blockname}.block.yaml
+#- id: ...
+# label: ...
+# dtype: ...
# Make one 'inputs' list entry per input and one 'outputs' list entry per output.
# Keys include:
@@ -538,18 +539,18 @@ parameters:
# * vlen (optional - data stream vector length. Default is 1)
# * optional (optional - set to 1 for optional inputs. Default is 0)
inputs:
-- label: ...
- domain: ...
- dtype: ...
- vlen: ...
- optional: ...
+#- label: ...
+# domain: ...
+# dtype: ...
+# vlen: ...
+# optional: ...
outputs:
-- label: ...
- domain: ...
- dtype: ...
- vlen: ...
- optional: ...
+#- label: ...
+# domain: ...
+# dtype: ...
+# vlen: ...
+# optional: ...
# 'file_format' specifies the version of the GRC yml format used in the file
# and should usually not be changed.