Skip to content
Snippets Groups Projects
Commit d0b5cebd authored by Alán Muñoz's avatar Alán Muñoz
Browse files

Merge branch 'issue-028' into 'dev'

fix!(abc): Take multiple DataFrames as inputs

See merge request postprocessor!21
parents 56d61883 4a77d168
No related branches found
No related tags found
No related merge requests found
......@@ -15,10 +15,10 @@ class PostProcessABC(ProcessABC):
super().__init__(*args, **kwargs)
@classmethod
def as_function(cls, data, *args, **kwargs):
def as_function(cls, data, *extra_data, **kwargs):
# Find the parameter's default
parameters = cls.default_parameters(*args, **kwargs)
return cls(parameters=parameters).run(data)
parameters = cls.default_parameters(**kwargs)
return cls(parameters=parameters).run(data, *extra_data)
@classmethod
def default_parameters(cls, *args, **kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment