summaryrefslogtreecommitdiff
path: root/gr-utils/python
diff options
context:
space:
mode:
authorJosh Morman <jmorman@perspectalabs.com>2019-07-30 13:17:23 -0400
committerMarcus Müller <marcus@hostalia.de>2019-08-05 16:04:58 +0200
commitef0bbc719dd1e27c2257769dc2773d3502a2ebae (patch)
treecdeb7d86b0e6ed28b971ae155f3055e3f2c5dd65 /gr-utils/python
parent86b86a9d7c9ab10f82b78aa80c49dbac69f158ed (diff)
modtool: use correct yaml comments for grc template
GRC template was creating parser issues from the getgo because of the lingering XML comments. Use proper YML comments
Diffstat (limited to 'gr-utils/python')
-rw-r--r--gr-utils/python/modtool/templates/templates.py34
1 files changed, 17 insertions, 17 deletions
diff --git a/gr-utils/python/modtool/templates/templates.py b/gr-utils/python/modtool/templates/templates.py
index 653ad22887..e89cf81bab 100644
--- a/gr-utils/python/modtool/templates/templates.py
+++ b/gr-utils/python/modtool/templates/templates.py
@@ -550,11 +550,11 @@ templates:
imports: import ${modname}
make: ${modname}.${blockname}(${strip_arg_types_grc(arglist)})
-<!-- Make one 'parameters' list entry for every Parameter you want settable from the GUI.
- Sub-entries of dictionary:
- * id (makes the value accessible as \$keyname, e.g. in the make entry)
- * label
- * dtype -->
+# Make one 'parameters' list entry for every Parameter you want settable from the GUI.
+# Sub-entries of dictionary:
+# * id (makes the value accessible as \$keyname, e.g. in the make entry)
+# * label
+# * dtype
parameters:
- id: ...
label: ...
@@ -563,26 +563,26 @@ parameters:
label: ...
dtype: ...
-<!-- Make one 'inputs' list entry per input. Sub-entries of dictionary:
- * label (an identifier for the GUI)
- * domain
- * dtype
- * vlen
- * optional (set to 1 for optional inputs) -->
+# Make one 'inputs' list entry per input. Sub-entries of dictionary:
+# * label (an identifier for the GUI)
+# * domain
+# * dtype
+# * vlen
+# * optional (set to 1 for optional inputs)
inputs:
- label: ...
domain: ...
dtype: ...
vlen: ...
-<!-- Make one 'outputs' list entry per output. Sub-entries of dictionary:
- * label (an identifier for the GUI)
- * dtype
- * vlen
- * optional (set to 1 for optional inputs) -->
+# Make one 'outputs' list entry per output. Sub-entries of dictionary:
+# * label (an identifier for the GUI)
+# * dtype
+# * vlen
+# * optional (set to 1 for optional inputs)
- label: ...
domain: ...
- dtype: !-- e.g. int, float, complex, byte, short, xxx_vector, ...--
+ dtype: ... #!-- e.g. int, float, complex, byte, short, xxx_vector, ...--
file_format: 1
'''