Skip to content

Commit

Permalink
add newline to end of json file to stop black from editing regression…
Browse files Browse the repository at this point in the history
… files
  • Loading branch information
RoyStegeman committed Mar 5, 2024
1 parent 800174d commit 8cfff6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion n3fit/src/n3fit/io/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ def _write_metadata_json(self, i, out_path):

with open(out_path, "w", encoding="utf-8") as fs:
json.dump(json_dict, fs, indent=2, cls=SuperEncoder)
fs.write('\n')

log.info(
"Best fit for replica #%d, chi2=%.3f (tr=%.3f, vl=%.3f)",
Expand Down Expand Up @@ -514,7 +515,6 @@ def evln2lha(evln, nf=6):
- 2 * evln[8]
) / 120


# if a heavy quark is not active at Q0 (the scale at which the output of the fit is stored),
# keep the PDF values at 0.0 to prevent small negative values due to numerical instabilities

Expand Down

0 comments on commit 8cfff6b

Please sign in to comment.