Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

Parsing of vci-file fails if it contains an itervar-entry  #14

@mbyrenh

Description

@mbyrenh

The current implementation in IndexFileReader::parseLine mistakes itervar-entries in vci-files as a block and thus crashes with the error "missing fields from block", when calling loadDataset on the corresponding vec-file.

The vec files were generated by a simulation based on OMNet++ 5.4.1.

My current quick fix for this is to add another line
else if (tokens[0][0] == 'i' && strcmp(tokens[0], "itervar") == 0) { return; }
to the aforementioned procedure. However, I am not sure if it might be better to include the itervar-value within the data returned to R.

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