pyPESTO icon indicating copy to clipboard operation
pyPESTO copied to clipboard

Deprecation for `get_for_key` notice suggests code that will error.

Open FFroehlich opened this issue 2 years ago • 2 comments

image

Maybe I am misunderstanding what I am supposed to do, but this doesn't seem to work.

FFroehlich avatar Jul 22 '22 05:07 FFroehlich

Could it be that one wants here optimize_result.key in the userwarning? Which appears to allow iteration over keys, while optimize_result[...] is for iteration over single result objects.

yannikschaelte avatar Jul 26 '22 14:07 yannikschaelte

Yes.

FFroehlich avatar Jul 26 '22 15:07 FFroehlich