Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix time column reading for Neware and Biologic cyclers #166

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

tomjholland
Copy link
Collaborator

Updates to biologic cycler:

  • pyprobe/cyclers/biologic.py: Enhanced read_file method to handle timestamped data and convert timestamps to cumulative seconds if a specific datetime format is detected. [1] [2]

Updates to neware cycler:

  • pyprobe/cyclers/neware.py: Added _convert_neware_time_format method to handle different Neware time formats and convert them to seconds. This method is now used in the read_file method to simplify time conversion logic. [1] [2]

Testing enhancements:

  • tests/cyclers/test_biologic.py: Added a new test case test_read_file_timestamp to verify the correct processing of timestamped data in the biologic cycler.
  • tests/cyclers/test_neware.py: Added a new test case test_convert_neware_time_format to ensure the new _convert_neware_time_format method works as expected.

Miscellaneous:

@tomjholland tomjholland added backend Related to the business logic of the tool bug Something isn't working feature Adding a new functionality, small or large labels Nov 29, 2024
@tomjholland tomjholland merged commit ef04ba7 into main Nov 29, 2024
2 checks passed
@tomjholland tomjholland deleted the fix-neware-time-bug branch November 29, 2024 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to the business logic of the tool bug Something isn't working feature Adding a new functionality, small or large
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant