summaryrefslogtreecommitdiff
path: root/grc/core/base.py
Commit message (Collapse)AuthorAgeFilesLines
* grc: handle variables of type raw correctlyVolker Schroer2021-06-011-2/+1
| | | | | | | | | | | | | | | | | | At the moment grc does not validate variables, as they are of type raw. So they are always treated as valid, which leads to some problems, see: #4519. A approach to fix #4519 is #4531. This approach improves the situation, but has still some problems. param.py provides a validator function for dtype raw, but this is not used, as dtypes.py provides no validator function for dtype raw. This fix clears the error messages in base.rewrite not in base.elements.validate, so the error messages are kept. In addition this makes it possible, to make the code in VariableEditor.py smoother. The error messages are kept on switching the different tabs in VariableEditor. Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* grc: fix pylint C0303: Trailing whitespaceClayton Smith2020-10-201-1/+1
|
* grc: add python snippets to GRCJosh Morman2020-02-101-0/+1
| | | | | | | | | | | This feature adds the ability to insert arbitrary code into the python flowgraph. It gives a little more low-level flexibility for quickly modifying flowgraphs and adding custom bits of code rather than having to go and edit the generated py file One example is synchronizing multiple USRP objects - sometimes you want different sync than what is offered in the multi-usrp object, so you can put a bit of code in the snippet block to do the custom synchronization
* Update license header to SPDX formatdevnulling2020-01-271-13/+2
|
* grc: added yaml/mako supportSebastian Koslowski2017-06-291-0/+164
Includes basic converter from XML/Cheetah to YAML/Mako based block format.