Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 27, 2023
1 parent 331379a commit 0ea10e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/spikeinterface/core/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,9 @@ def save_to_folder(self, name=None, folder=None, verbose=True, **save_kwargs):
if self.check_serializablility("json"):
self.dump(provenance_file)
else:
provenance_file.write_text(json.dumps({"warning": "the provenace is not json serializable!!!"}), encoding="utf8")
provenance_file.write_text(
json.dumps({"warning": "the provenace is not json serializable!!!"}), encoding="utf8"
)

self.save_metadata_to_folder(folder)

Expand Down

0 comments on commit 0ea10e3

Please sign in to comment.