pyPESTO
pyPESTO copied to clipboard
Deprecation for `get_for_key` notice suggests code that will error.
![image](https://user-images.githubusercontent.com/14923969/180369815-7c03db41-6b78-4a93-8bb2-abd09149cea4.png)
Maybe I am misunderstanding what I am supposed to do, but this doesn't seem to work.
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.
Yes.