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

Add chardet encoding detection #193

Merged
merged 3 commits into from
Oct 2, 2024
Merged

Add chardet encoding detection #193

merged 3 commits into from
Oct 2, 2024

Conversation

MarJMue
Copy link
Collaborator

@MarJMue MarJMue commented Oct 1, 2024

PR for inclusion of chardet, to determine file encoding, as discussed in #192.

As far as I understand, Nexus is binary with fixed encoding handled by h5py?

Copy link
Member

@domna domna left a comment

Choose a reason for hiding this comment

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

One small comment, which is not a hard blocker.
Thank you for the changes!

Copy link
Member

Choose a reason for hiding this comment

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

I would maybe call this file utils.py for future extensions or directly put it in the __init__.py. Seems a bit overkill to have this file for one function and it's unlikely that new functions will be added to this file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sure, will do. Tried to avoid repeating and was not entirely sure if you should put actual code in the init.py

@MarJMue MarJMue merged commit e141ce0 into master Oct 2, 2024
12 checks passed
@MarJMue MarJMue deleted the chardet branch October 2, 2024 09:43
@MarJMue MarJMue linked an issue Oct 2, 2024 that may be closed by this pull request
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.

Add chardet encoding detection
2 participants