1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-09 14:00:55 +08:00

black formatting

This commit is contained in:
王雪
2021-01-20 20:29:59 +08:00
committed by you-n-g
parent 5ad1b4cc33
commit 784e73bceb
2 changed files with 39 additions and 115 deletions

View File

@@ -38,9 +38,7 @@ class QlibRecorder:
try:
yield run
except Exception as e:
self.end_exp(
Recorder.STATUS_FA
) # end the experiment if something went wrong
self.end_exp(Recorder.STATUS_FA) # end the experiment if something went wrong
raise e
self.end_exp(Recorder.STATUS_FI)