Skip to content

Silence false-positive session matching warnings #52

@cbueth

Description

@cbueth

In add_recorded_sessions (within multipleye_data_collection.py), folders that do not match the expected session regex pattern currently trigger a warning print statement. This leads to noise for standard project folders like test_sessions, core_sessions, and pilot_sessions.

  • Add a new constant IGNORED_SESSION_FOLDERS = ["test_sessions", "core_sessions", "pilot_sessions"] to preprocessing/constants.py.
  • Update the else block (lines 280-284) in add_recorded_sessions to only log a warning if the folder name is not in IGNORED_SESSION_FOLDERS.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions