Skip to content

Commit

Permalink
Change path to files
Browse files Browse the repository at this point in the history
  • Loading branch information
Erikpostt committed Feb 29, 2024
1 parent 850f997 commit ef2bc4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_dbpd.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
from dbpd import dbpd

def test_transform_time_array(shared_datadir):
metadata_dict = tsdf.load_metadata_from_path(shared_datadir / 'PPG/WatchData.PPG.Week104.raw_segment0001_meta.json')
metadata_dict = tsdf.load_metadata_from_path(shared_datadir / '1.sensor_data/PPG_meta.json')

# Retrieve the metadata object we want, using the name of the binary as key
metadata_samples = metadata_dict["WatchData.PPG.Week104.raw_segment0001_time.bin"]
metadata_samples = metadata_dict["PPG_time.bin"]
data = tsdf.load_ndarray_from_binary(metadata_samples)
assert data.shape == (64775,)

0 comments on commit ef2bc4f

Please sign in to comment.