Repository navigation
Fix session start time zone - #46
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #45
Details (AI-generated)
Replaces
pytz.timezone("US/Central")with a module-levelSESSION_TIMEZONE = ZoneInfo("America/Chicago")for both the behavior sessions and the western blots, and drops the pytz import.tests/test_seiler_2024_convert_session.pychecks the -05:00 and -06:00 offsets (pytest tests: 2 passed; errors onmain).fix_timezone.ipynb) reconverts 96.259 on 2019-04-09 and 64.205 on 2018-11-07 from the raw data and compares them with the published files: the wall-clock time is unchanged, the offset goes from -05:51 to -05:00 and -06:00.This PR also adds the
tests/directory that the other fixes in #43 use.🤖 Generated with Claude Code