Skip to content

Commit

Permalink
fix(environment_active_config): rename stream class name
Browse files Browse the repository at this point in the history
  • Loading branch information
ttngu207 committed Sep 18, 2024
1 parent a1f4600 commit 9880eb6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion aeon/dj_pipeline/acquisition.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ def make(self, key):
),
)
device = devices_schema.Environment
stream_reader = device.EnvActiveConfiguration # expecting columns: time, name, value
stream_reader = device.EnvironmentActiveConfiguration # expecting columns: time, name, value
stream_data = io_api.load(
root=data_dirs,
reader=stream_reader,
Expand Down
4 changes: 2 additions & 2 deletions aeon/schema/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
social03 = DotMap(
[
Device("Metadata", stream.Metadata),
Device("Environment", social_02.Environment, social_02.SubjectData, social_03.EnvActiveConfiguration),
Device("Environment", social_02.Environment, social_02.SubjectData, social_03.EnvironmentActiveConfiguration),
Device("CameraTop", stream.Video, social_03.Pose),
Device("CameraNorth", stream.Video),
Device("CameraSouth", stream.Video),
Expand Down Expand Up @@ -147,7 +147,7 @@
social04 = DotMap(
[
Device("Metadata", stream.Metadata),
Device("Environment", social_02.Environment, social_02.SubjectData, social_03.EnvActiveConfiguration),
Device("Environment", social_02.Environment, social_02.SubjectData, social_03.EnvironmentActiveConfiguration),
Device("CameraTop", stream.Video, social_03.Pose),
Device("CameraNorth", stream.Video),
Device("CameraSouth", stream.Video),
Expand Down
2 changes: 1 addition & 1 deletion aeon/schema/social_03.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def __init__(self, path):
super().__init__(_reader.Pose(f"{path}_202_*"))


class EnvActiveConfiguration(Stream):
class EnvironmentActiveConfiguration(Stream):

def __init__(self, path):
super().__init__(_reader.JsonList(f"{path}_ActiveConfiguration_*", columns=["name"]))

0 comments on commit 9880eb6

Please sign in to comment.