sigmf-python icon indicating copy to clipboard operation
sigmf-python copied to clipboard

Normalize the string -> obj pairs

Open 777arc opened this issue 5 months ago • 4 comments

eg START_INDEX_KEY should probably be renamed to CORE_SAMPLE_START, along with all the others that clearly dont match

777arc avatar Jun 16 '25 15:06 777arc

Yep, this should be done along with #92 and throw a deprecation warning when accessing the old key.

Teque5 avatar Jun 19 '25 02:06 Teque5

I would add that such variable-value pairs should be generated automatically (albeit through a manually-invoked process) with some python foo. Same for the extensions (after they are converted to JSON schema).

gmabey avatar Jun 19 '25 14:06 gmabey

Yeah good idea, as long as there are generated docs to go with it. E.g. colon -> underscore and capitalize everything.

777arc avatar Jun 19 '25 18:06 777arc

could also use SAMPLE_START instead of CORE_SAMPLE_START

777arc avatar Jul 21 '25 15:07 777arc