omnetpp-resultfiles icon indicating copy to clipboard operation
omnetpp-resultfiles copied to clipboard

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

Open mbyrenh opened this issue 5 years ago • 0 comments

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.

mbyrenh avatar Mar 15 '19 09:03 mbyrenh