pyhrv icon indicating copy to clipboard operation
pyhrv copied to clipboard

nonlinear.py: AttributeError: module 'biosppy' has no attribute 'utils'

Open davidmarcelbauminteraxon opened this issue 1 year ago • 0 comments

Hey devs,

Throughout the nonlinear.py codes, import biosppy (line 45) and then calling biosppy.utils.ReturnTuple(args, names) throws the following error: AttributeError: module 'biosppy' has no attribute 'utils'

Installed libraries

biosppy==2.2.1 pyhrv==0.4.1

Proposed fix

I am circumventing this by directly importing the ReturnTuple class from biospyy.utils: from biosppy.utils import ReturnTuple ReturnTuple(args, names)