Skip to content

make_cprdat_analysis() not ready to work with new data structure of vhannels #281

Description

@sorlob
  • add test for the function for available test data
  • fix to new data structure

File ~/vscode/vitabel-dev/src/vitabel/vitals.py:2596, in Vitals.make_cprdat_analysis(self, model)
2594 chest_compression_analysis = []
2595 if "cc_depth" in self.get_channel_names():
-> 2596 CC, CC_depth = (self.get_channel("cc_depth")).get_data()
2597 elif "CC" in self.get_channel_names():
2598 CC, CC_depth = (self.get_channel("cc")).get_data()

ValueError: too many values to unpack (expected 2)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions