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

Add support for .sci itervar parameter

Open psoftware opened this issue 6 years ago • 2 comments

Since Omnet 5.2 version it's no more possible to import vector data generated by iterated experiments. The error is caused by a new .sci parameter type called "itervar" that causes the following error on loadDataset() call: Error in callLoadDataset: missing fields from block, file [...]

From the Omnet 5.2 changelog

Save iteration variables separately from run attributes ("itervar" lines). NOTE: This changes result file format!

This code should mantain the compatibility with the older .sci file versions.

psoftware avatar Apr 02 '18 03:04 psoftware

Thanks a lot for the fix! It works for me. I hope it will get merged sooner or later...

tim-ist avatar Mar 28 '19 17:03 tim-ist

I doubt (: If I remember well this package is based on the scavetool library, which has been modified in omnet 5.2. Some months ago I tried to merge the sources from the new library version, however I did not succeed because of some changes to class interfaces and my poor knowledge of omnet internals.

However this patch should help in the meantime, I'm glad it helped!

psoftware avatar Mar 28 '19 19:03 psoftware