Skip to content

Commit

Permalink
Use all components other than time and device name
Browse files Browse the repository at this point in the history
  • Loading branch information
glopesdev committed Sep 27, 2024
1 parent e3b4406 commit 59408c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aeon/io/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def __init__(self, pattern: str, model_root: str = "/ceph/aeon/aeon/data/process
def read(self, file: Path) -> pd.DataFrame:
"""Reads data from the Harp-binarized tracking file."""
# Get config file from `file`, then bodyparts from config file.
model_dir = Path(*Path(file.stem.replace("_", "/")).parent.parts[-4:])
model_dir = Path(*Path(file.stem.replace("_", "/")).parent.parts[1:])

# Check if model directory exists in local or shared directories.
# Local directory is prioritized over shared directory.
Expand Down

0 comments on commit 59408c3

Please sign in to comment.