Skip to content

Commit

Permalink
Merge pull request #27 from beeldengeluid/26-fix-broken-tests
Browse files Browse the repository at this point in the history
Renamed test input files to include sample rate
  • Loading branch information
jblom authored Nov 20, 2023
2 parents 6a50753 + c818d10 commit 549a721
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(
self.paths[int(p.stem)].update({"frame": p})
for p in datapath.glob(f"{SPECTOGRAM_INPUT_DIR}/*_{self.framerate}.npz"):
self.paths[int(p.stem.split("_")[0])].update({"spec": p})
self.timestamps = list(self.paths.keys())
self.timestamps = sorted(list(self.paths.keys()))
self.device = device
self.list_of_shots = self.ListOfShots(datapath)

Expand Down

0 comments on commit 549a721

Please sign in to comment.