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

Allow to change the default indentation of the produced JSON. #210

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hendriks73
Copy link
Contributor

The default is 2, which can lead to fairly large bloat, when considering ten-thousands of JAMS (think global tempo estimates like https://github.com/tempoeval/tempo_eval/tree/main/annotations). Of course one can go the gzip/jamz route, which will create smaller files, but at the price of (easy/casual) editability.

Being able to simple pass indent=None is a compromise. It still allows manual editing, while also reducing size quite a bit.

The default is 2, which can lead to fairly large bloat, when considering ten-thousands of JAMS (think global tempo estimates like https://github.com/tempoeval/tempo_eval/tree/main/annotations). Of course one can go the gzip/jamz route, which will create smaller files, but at the price of (easy/casual) editability.

Being able to simple pass indent=None is a compromise. It still allows manual editing, while also reducing size quite a bit.
@hendriks73
Copy link
Contributor Author

Closed and re-opened PR to trigger Travis build.
Since Master has changed, it should run through this time.
The change is trivial.

@justinsalamon
Copy link
Contributor

Lgtm, @bmcfee any comments before I merge and bump the patch version?

@bmcfee
Copy link
Contributor

bmcfee commented Mar 10, 2021

Lgtm, @bmcfee any comments before I merge and bump the patch version?

LGTM, thanks!

Before bumping the version, I think it's worth combing through open issues and seeing if there's anything else that needs fixing in the short term.

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.

3 participants