Skip to content

Commit

Permalink
Merge pull request #747 from qiboteam/results_json_extension
Browse files Browse the repository at this point in the history
fix: Added json extension to results for singleshot classification
  • Loading branch information
Edoardo-Pedicillo authored Mar 12, 2024
2 parents b811472 + 8e73b6c commit bc2e1e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibocal/protocols/characterization/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def save(self, path):
asdict_class = asdict(self)
asdict_class.pop("models")
asdict_class.pop("classifiers_hpars")
(path / RESULTSFILE).write_text(json.dumps(serialize(asdict_class)))
(path / f"{RESULTSFILE}.json").write_text(json.dumps(serialize(asdict_class)))


def _acquisition(
Expand Down

0 comments on commit bc2e1e7

Please sign in to comment.