suspect icon indicating copy to clipboard operation
suspect copied to clipboard

`correct_frequency_and_phase`: too many arguments to `residual_water_alignment`

Open 0rC0 opened this issue 3 years ago • 0 comments

Hello,

The function correct_frequency_and_phase with method rwa calls with too many arguments residual_water_alignment.

If the function is called with 2 MRSData arguments and method='rwa' . It returns TypeError: residual_water_alignment() takes 1 positional argument but 2 were given. If it is called with 1 MRSData argument and method='rwa', it returns TypeError: correct_frequency_and_phase() missing 1 required positional argument: 'target'

Suspect version: 0.4.4

I could write a little fix to solve the issue.

BW

0rC0 avatar Jan 21 '22 20:01 0rC0