Skip to content

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

Description

@paaalm07
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions