clamsproject / clams-python

CLAMS SDK for python
http://sdk.clams.ai/
Apache License 2.0
4 stars 1 forks source link

💡 `clams source --version` #149

Closed mrharpo closed 1 year ago

mrharpo commented 1 year ago

New Feature Summary

source --version

Can the CLI include a --version flag to specify a specific mmif version?

Related

No response

Alternatives

No response

Additional context

After clams sourceing an empty mmif, I ran it through app-barsdetection, and it errored with:

"error": {
          "message": "<class 'ValueError'>: Input MMIF file (versioned: 0.5.0 is not compatible with the app targeting at 0.4.0. Make sure apps in the pipeline is all compatible. See https://mmif.clams.ai/versioning/ for information about MMIF compatibility. "
keighrim commented 1 year ago

The error no longer occurs since https://github.com/clamsproject/clams-python/pull/130. bardetection app soon will be updated to the latest SDK and the error will be gone with the update.

keighrim commented 1 year ago

closing the issue as a "won't fix"