Skip to content
This repository has been 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

Open
mbyrenh opened this issue Mar 15, 2019 · 0 comments
Open

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

mbyrenh opened this issue Mar 15, 2019 · 0 comments

Comments

@mbyrenh
Copy link

mbyrenh commented Mar 15, 2019

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.

michele-segata added a commit to michele-segata/omnetpp-resultfiles that referenced this issue May 13, 2019
michele-segata added a commit to michele-segata/omnetpp-resultfiles that referenced this issue May 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant