Skip to content

correct_frequency_and_phase: too many arguments to residual_water_alignment #158

@0rC0

Description

@0rC0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions