diff options
author | Josh Morman <jmorman@gnuradio.org> | 2021-11-24 12:53:58 -0500 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-11-24 14:41:53 -0500 |
commit | 51ec89501552c35b2bd0721c0501302f224fe44d (patch) | |
tree | 442036c424c286ece0976dcd3c36891cddefcd25 /gnuradio-runtime/examples/mp-sched/plot_flops.py | |
parent | e426b9ad20dbbf41326c103b31a7418a80362b06 (diff) |
runtime: pep8 formatting
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
Diffstat (limited to 'gnuradio-runtime/examples/mp-sched/plot_flops.py')
-rw-r--r-- | gnuradio-runtime/examples/mp-sched/plot_flops.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gnuradio-runtime/examples/mp-sched/plot_flops.py b/gnuradio-runtime/examples/mp-sched/plot_flops.py index 918197f9f4..5b58e1ddcf 100644 --- a/gnuradio-runtime/examples/mp-sched/plot_flops.py +++ b/gnuradio-runtime/examples/mp-sched/plot_flops.py @@ -47,9 +47,11 @@ def parse_file(input_filename, output): def handle_file(input_filename): - cmd_file = tempfile.NamedTemporaryFile(mode='w+', prefix='pf', suffix='.cmd') + cmd_file = tempfile.NamedTemporaryFile( + mode='w+', prefix='pf', suffix='.cmd') cmd_file_name = cmd_file.name - data_file = tempfile.NamedTemporaryFile(mode='w+', prefix='pf', suffix='.dat') + data_file = tempfile.NamedTemporaryFile( + mode='w+', prefix='pf', suffix='.dat') data_file_name = data_file.name desc = parse_file(input_filename, data_file) if len(desc) > 0: @@ -68,8 +70,8 @@ def handle_file(input_filename): os.system("gnuplot " + cmd_file_name + " -") - #sys.stdout.write(open(cmd_file_name,'r').read()) - #sys.stdout.write(open(data_file_name,'r').read()) + # sys.stdout.write(open(cmd_file_name,'r').read()) + # sys.stdout.write(open(data_file_name,'r').read()) def main(): |