Skip to content

Commit

Permalink
refactor: Explicit npz
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-pasquale committed Feb 2, 2024
1 parent f17eac3 commit b366c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibocal/auto/operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def _to_npz(self, path: Path, filename: str):
"""Helper function to use np.savez while converting keys into strings."""
if hasattr(self, "data"):
np.savez(
path / filename,
path / f"{filename}.npz",
**{json.dumps(i): self.data[i] for i in self.data},
)

Expand Down

0 comments on commit b366c54

Please sign in to comment.