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

Add support for .sci itervar parameter #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

psoftware
Copy link

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.

@tim-ist
Copy link

tim-ist commented Mar 28, 2019

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

@psoftware
Copy link
Author

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants