Closed gmabey closed 1 month ago
It says in the docstring for that function that it is currently broken. I believe the intent was to retrieve a vanilla metadata dictionary similar to how calling sigmf.SigMFFile()
returns a basic dictionary:
SigMFFile({
"global": {
"core:num_channels": 1,
"core:version": "1.1.1"
},
"captures": [],
"annotations": []
})
In the validator the empty default should get filled with a more realistic default. Currently the above skeleton fails validation b/c it has no datatype defined, among other issues.
Perhaps get_default_metadata()
should be removed.
New PR removes this function and closes issue.
I don't use
sigmf.validate.get_default_metadata()
but it seems to be broken, in case someone wanted to use it:or maybe I'm missing something here?