Skip to content

check for 0 length data file causes exception #2

@andreasplesch

Description

@andreasplesch

In the checkNRRD function line
https://github.com/scijs/nrrd-js/blob/master/nrrd.js#L1131
causes a problem if ret.data is undefined. Then accessing ret.data.length is not possible and causes a type error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions