Skip to content

Fix time-of-day-dependent failure in series_time validation - #395

Merged
CPBridge merged 1 commit into
ImagingDataCommons:masterfrom
yarikoptic:fix/series-time-validation
Feb 21, 2026
Merged

CPBridge merged 1 commit into
ImagingDataCommons:masterfrom
yarikoptic:fix/series-time-validation

Conversation

@yarikoptic

Copy link
Copy Markdown
Contributor

The series_time > content_time check was performed regardless of whether series_date and content_date differed. When content_time defaults to now.time(), this caused spurious failures depending on what time of day the code (or tests) ran. The time comparison is now only performed when the dates are equal.

I just saw that CI is red -- troubleshooted/"solved" by claude-code

The series_time > content_time check was performed regardless of
whether series_date and content_date differed. When content_time
defaults to now.time(), this caused spurious failures depending on
what time of day the code (or tests) ran. The time comparison is now
only performed when the dates are equal.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@fedorov

fedorov commented Feb 20, 2026

Copy link
Copy Markdown
Member

@yarikoptic thank you for the contribution!

It looks good to me, but I would want @CPBridge to review, and he is out of office for several weeks. I am sure he will take a look as soon as he can!

@CPBridge CPBridge left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @yarikoptic

@CPBridge
CPBridge merged commit e9e3f25 into ImagingDataCommons:master Feb 21, 2026
9 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.

3 participants