added baseline name

This commit is contained in:
Lorenzo Volpi 2023-11-26 16:33:56 +01:00
parent 8096c0842e
commit 3180622787
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ def baseline(func):
def wrapper(c_model, validation, protocol):
return func(c_model, validation, protocol)
wrapper.name = func.__name__
_baselines[func.__name__] = wrapper
return wrapper