From ef23e56b310702198275be3171696e303bf73cf9 Mon Sep 17 00:00:00 2001 From: Josh Bailey Date: Thu, 11 Jul 2024 01:21:23 +0000 Subject: [PATCH] strip. --- gamutrf/grscan.py | 2 ++ gamutrfwaterfall/gamutrfwaterfall/waterfall.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gamutrf/grscan.py b/gamutrf/grscan.py index 34d201c5..3794f3d7 100644 --- a/gamutrf/grscan.py +++ b/gamutrf/grscan.py @@ -101,6 +101,8 @@ def __init__( ): gr.top_block.__init__(self, "scan", catch_exceptions=True) + if description: + description = description.strip('"') tune_step_hz = int(samp_rate * tuneoverlap) stare = False diff --git a/gamutrfwaterfall/gamutrfwaterfall/waterfall.py b/gamutrfwaterfall/gamutrfwaterfall/waterfall.py index f5491b62..693a77e8 100644 --- a/gamutrfwaterfall/gamutrfwaterfall/waterfall.py +++ b/gamutrfwaterfall/gamutrfwaterfall/waterfall.py @@ -31,6 +31,8 @@ "tuneoverlap": None, "tune_step_fft": None, "sweep_sec": None, + "write_samples": 0, + "description": "", }