Introduce an "indent" parameter which is passed to json.dump. Defaults to 2, so that files are indented by 2 spaces.
In the issue, indentation of 4 spaces is suggested. However, since the json structure is deeply nested and the Python files are indented by 2 spaces, I chose 2 as the default. It's easily changed, though, if that's determined to be an issue.
For https://github.com/BICCN/cell-locator/issues/144.
Introduce an "indent" parameter which is passed to json.dump. Defaults to 2, so that files are indented by 2 spaces.
In the issue, indentation of 4 spaces is suggested. However, since the json structure is deeply nested and the Python files are indented by 2 spaces, I chose 2 as the default. It's easily changed, though, if that's determined to be an issue.