Commit 0dab498c authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Fix one more bug

parent af86d161
......@@ -38,7 +38,7 @@ def make_sigmf(metadatafilename, no_rename=False):
"core:license"] = "https://creativecommons.org/licenses/by/4.0/"
global_meta["core:author"] = "Stichting CAMRAS"
global_meta["core:recorder"] = "usrp_to_file"
global_meta["core:dataset"] = os.path.basename(newfilename)
global_meta["core:dataset"] = metadatafilename.rstrip(".metadata")
global_meta["core:datatype"] = datatype
global_meta["core:sample_rate"] = rate
global_meta["core:hw"] = sdr_type.strip('"')
......
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