algo.identifyPatches error in beta: function takes at most 7 arguments (8 given)

i have this code (that worked in older versions)
algo.identifyPatches([1], True, False, -1.000000000000, True, True, True, False)

but getting error in 2024.1 r35 Beta,
function takes at most 7 arguments (8 given)

i don’t see any mentions in
https://www.pixyz-software.com/documentations/html/2024.1/studio/manual/changelog.html

Hi,
The function has indeed changed since Studio 2022 ans some function definition has been impacted.
You’re right it should be mention in the changlog.

in your code, you need to remove the 3rd argument has it’s now checked with the value of the following argument:

algo.identifyPatches([1], True, -1.000000000000, True, True, True, False)