diff options
author | Josh Morman <jmorman@perspectalabs.com> | 2019-07-10 16:35:39 -0400 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2019-08-02 17:57:03 +0200 |
commit | 86f3d3c13b38440235cd899c408f03e67b96040e (patch) | |
tree | 1d770b110a59be7202a4046f4b71a098601e3dda /gr-digital/grc | |
parent | 33ef406bc7b6af14a0b3c9385546e002c539e6d6 (diff) |
digital: constellation object yml error
value parameter field has invalid reference to
constellation_type
Cleaned up the yml, but probably needs some insight into the
yml generator
fixes #2494
Diffstat (limited to 'gr-digital/grc')
-rw-r--r-- | gr-digital/grc/digital_constellation.block.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-digital/grc/digital_constellation.block.yml b/gr-digital/grc/digital_constellation.block.yml index 298278befa..7a1f4654c0 100644 --- a/gr-digital/grc/digital_constellation.block.yml +++ b/gr-digital/grc/digital_constellation.block.yml @@ -39,7 +39,8 @@ parameters: dtype: raw default: None hide: ${ ('part' if str(soft_dec_lut) == 'None' else 'none') } -value: ${ digital.constellation_calcdist(const_points, sym_map, rot_sym, dims) if (str(type) == "calcdist") else digital.constellation_type} +value: ${ digital.constellation_calcdist(const_points, sym_map, rot_sym, dims) if (str(type) == "calcdist") else getattr(digital,'constellation_'+str(type))() } + templates: imports: from gnuradio import digital |