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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add chardet encoding detection #193

wants to merge 2 commits into from

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

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.

2 participants