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: handle duplicated channels in tdms #164

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ckniffin-nominal
Copy link

@ckniffin-nominal ckniffin-nominal commented Dec 10, 2024

When uploading TDMS it was found that channels were being repeated across groups. This was due to a dictionary being declared in the incorrect scope resulting in repeated data. This manifested as two channels showing up _x and _y suffixes. This fix does two things.

  • Move the dictionary declaration so it is per group
  • Change the suffixes to _repeated_1 and _repeated_2 to prevent confusion with x and y coordinate systems

* updated tdms channel handling to deal with the same channel names accross different groups
* changed merge suffixes to prevent confusion with coordinate systems
nominal/_tdms.py Outdated Show resolved Hide resolved
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.

5 participants