Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always set core:version to 1.0.0 #28

Merged
merged 1 commit into from
Oct 6, 2023
Merged

Conversation

argilo
Copy link
Contributor

@argilo argilo commented Oct 2, 2023

Fixes #27.

Currently the SigMFFile and SigMFCollection constructors allow the caller to pass in core:version. The README examples, tools, and tests all set this to sigmf.__version__, which is the version number of the Python module, not the SigMF specification.

Since this module implements SigMF v1.0.0, I've modified the constructors to always set core:version to 1.0.0, ignoring any value that may have been provided by the caller.

@argilo
Copy link
Contributor Author

argilo commented Oct 2, 2023

I have assumed that 1.0.0 is the correct format, but the spec is currently ambiguous. I've proposed an clarification in sigmf/SigMF#298.

@Teque5 Teque5 merged commit 406eed7 into sigmf:main Oct 6, 2023
@argilo argilo deleted the fix-core-version branch October 6, 2023 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

core:version tracks python module or specification
2 participants