Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| import pandas as pd | ||
| from scipy.signal import butter, lfilter, decimate | ||
| import scipy.io | ||
| from nptdms import TdmsFile |
There was a problem hiding this comment.
Handle missing TDMS dependency gracefully
The module now imports TdmsFile unconditionally, so python main.py or any .mat-only workflow will raise ModuleNotFoundError: No module named 'nptdms' on environments that only had the previous MATLAB dependencies. TDMS support was added as an optional feature, but this import makes it a hard requirement and breaks existing usage unless users install an extra package first. Guard the import or defer it until a .tdms file is actually processed so .mat runs continue to work.
Useful? React with 👍 / 👎.
Summary
Testing
Codex Task