Skip to content

check if LINK-block exists #17

@pstahlhofen

Description

@pstahlhofen

Is it possible to check in a multi-block JCAMP-file, if there is any block with DATA_TYPE=LINK and to adjust the behaviour of the splitMultiblockDX-function accordingly? I experienced that in cases where the LINK-block is missing, the function will now simply throw an error because it thinks that the number of START and END statements do not match. I viewed the code and found out that this is due to the implicit assumption that there must always be a LINK-block. In my example, however, there was no such block, so I added it manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions