Filter in compareToReference.py does not work for all data type.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openWNS Wrowser |
Fix Committed
|
Medium
|
Daniel Bültmann |
Bug Description
The function "filter" in the file "compareToRefer
# python compareToRefere
Reading lte.total.
{'full': 1}
Reading lte.total.
{'full': 1}
However, it does not work for the other data type such as Bool, Float and String. In order to test the bug, the line in "compareToRefer
if scen.parameterS
is replaced by the following line
if scen.parameterS
After starting the script in a shell, the following error message is given.
# python compareToRefere
Reading lte.total.
Traceback (most recent call last):
File "compareToRefer
cdf = api.getCDFs(name, campaign, forScenarios = filter(allscen), agg="AVG")
File "compareToRefer
if scen.parameterS
KeyError: 'fullPLCompensa
If the above mentioned line is substituted with
if scen.parameterS
or
if scen.parameterS
similar errors are reported.
Can you please try to make it work for all data type?
Best Regards,
Yuan
Related branches
Changed in openwns-wrowser: | |
assignee: | nobody → Daniel Bültmann (daniel.bueltmann) |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in openwns-wrowser: | |
status: | Confirmed → Fix Committed |
milestone: | none → 0.9 |