Skip to content

Add start-time command to print a recording's start time - #171

Merged
celefthe merged 4 commits into
mainfrom
celefthe/issue170
Sep 23, 2026
Merged

celefthe merged 4 commits into
mainfrom
celefthe/issue170

Conversation

@celefthe

Copy link
Copy Markdown
Member

Closes #170.

  • io.read_start_time: returns the first /timestamps entry of an HDF5 file, or /session_start_time of an NWB file, as stored. Raises ValueError when missing or empty.
  • mesoscopy start-time <file>: lazy top-level command printing it; missing start time exits 1.
  • Tests in test_io.py and test_cli.py; changelog entry.

@celefthe
celefthe merged commit b60ed2b into main Sep 23, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add CLI command to print session start timestamp

1 participant