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

_arch.txt includes blank lines which lead to errors #49

Open
paaalm07 opened this issue Jan 10, 2025 · 0 comments
Open

_arch.txt includes blank lines which lead to errors #49

paaalm07 opened this issue Jan 10, 2025 · 0 comments

Comments

@paaalm07
Copy link

src/matlab/__init__.py:
with open(arch_file, 'r') as root:
    [arch, bin_folder, engine_folder, extern_bin] = [line.strip() for line in root.readlines()]

blank lines are not ignored in this code which are created by default from MATLAB.
[line.strip() for line in root.readlines() if line.strip()] would fix it.

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

No branches or pull requests

1 participant