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

VocabRepositoryUtils -- numpy API considers # by default in vocabulary on load #428

Closed
nicolay-r opened this issue Dec 25, 2022 · 1 comment
Assignees
Labels
bug Something isn't working critical

Comments

@nicolay-r
Copy link
Owner

nicolay-r commented Dec 25, 2022

It is crutial to set comments = None instead of # by default!

vocab = np.loadtxt(source, dtype=str, comments=None)

#429 related

@nicolay-r nicolay-r added bug Something isn't working critical labels Dec 25, 2022
@nicolay-r nicolay-r self-assigned this Dec 25, 2022
@nicolay-r
Copy link
Owner Author

Suppose to be fixed in prior release as well.

nicolay-r added a commit that referenced this issue Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working critical
Projects
None yet
Development

No branches or pull requests

1 participant