Commit 81558001 authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Get rid of more quotes

parent 8e71b61d
......@@ -142,12 +142,12 @@ def make_sigmf(metadatafilename):
global_meta[
"camras:pointing:refraction_enabled"] = f"{dt.refraction_enabled}"
global_meta["camras:usrp:rx_gain"] = rx_gain
global_meta["camras:usrp:bandwidth"] = bandwidth
global_meta["camras:usrp:rx_gain"] = float(rx_gain)
global_meta["camras:usrp:bandwidth"] = float(bandwidth)
global_meta["camras:usrp:reference"] = reference.strip('"')
global_meta["camras:usrp:time_source"] = time_source.strip('"')
global_meta["camras:usrp:antenna"] = antenna.strip('"')
global_meta["camras:usrp:channel"] = channel.strip('"')
global_meta["camras:usrp:channel"] = int(channel)
with open(sigmfname_meta, "w") as sigmfmeta:
json.dump(meta, sigmfmeta, indent=4)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment