omnetpp-resultfiles
omnetpp-resultfiles copied to clipboard
Parsing of vci-file fails if it contains an itervar-entry
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.