outputReports not correct for RepeatedTask & not written in combine
Status: Beta
Brought to you by:
fbergmann
When having reports in repeated tasks the report values are not correct.
In the example the reports should be something like the following (showing first 10 rows). The report for task1 is correct on WebTools, but the report for repeat1 Task just repeats the values from task1.
--------------------------------------------------------------------------------
report_0, Repeat: 0
--------------------------------------------------------------------------------
task1.time task1.S1 task1.S2 task1.S1/task1.S2
0 0.0 10.000000 0.000000 inf
1 0.1 9.521841 0.478159 19.913540
2 0.2 9.084841 0.915159 9.927066
3 0.3 8.685463 1.314537 6.607241
4 0.4 8.320456 1.679544 4.953996
5 0.5 7.986854 2.013146 3.967350
6 0.6 7.681960 2.318040 3.313990
7 0.7 7.403309 2.596691 2.851055
8 0.8 7.148640 2.851360 2.507098
9 0.9 6.915888 3.084112 2.242424
--------------------------------------------------------------------------------
report_1, Repeat: 0
--------------------------------------------------------------------------------
repeat1.time repeat1.S1 repeat1.S2 repeat1.S1/repeat1.S2
0 0.0 1.000000 0.000000 inf
1 0.1 0.952184 0.047816 19.913574
2 0.2 0.908484 0.091516 9.927024
3 0.3 0.868544 0.131456 6.607125
4 0.4 0.832042 0.167958 4.953878
5 0.5 0.798682 0.201318 3.967262
6 0.6 0.768193 0.231807 3.313925
7 0.7 0.740327 0.259673 2.851005
8 0.8 0.714861 0.285139 2.507061
9 0.9 0.691587 0.308413 2.242401
--------------------------------------------------------------------------------
report_1, Repeat: 1
--------------------------------------------------------------------------------
repeat1.time repeat1.S1 repeat1.S2 repeat1.S1/repeat1.S2
0 0.0 3.000000 0.000000 inf
1 0.1 2.856552 0.143448 19.913547
2 0.2 2.725453 0.274547 9.927076
3 0.3 2.605640 0.394360 6.607272
4 0.4 2.496141 0.503859 4.954049
5 0.5 2.396062 0.603938 3.967401
6 0.6 2.304594 0.695406 3.314026
7 0.7 2.220997 0.779003 2.851078
8 0.8 2.144596 0.855404 2.507116
9 0.9 2.074771 0.925229 2.242441
--------------------------------------------------------------------------------
report_1, Repeat: 2
--------------------------------------------------------------------------------
repeat1.time repeat1.S1 repeat1.S2 repeat1.S1/repeat1.S2
0 0.0 5.000000 0.000000 inf
1 0.1 4.760921 0.239079 19.913546
2 0.2 4.542421 0.457579 9.927074
3 0.3 4.342734 0.657266 6.607265
4 0.4 4.160233 0.839767 4.954035
5 0.5 3.993434 1.006566 3.967386
6 0.6 3.840987 1.159013 3.314015
7 0.7 3.701660 1.298340 2.851071
8 0.8 3.574325 1.425675 2.507111
9 0.9 3.457950 1.542050 2.242437
In addition, when exporting via "Save combine with results" the reports.xml are all empty and do not contain any numerical data:
<?xml version="1.0" encoding="utf-8"?>
<numl version="1" level="1" xmlns="http://www.numl.org/numl/level1/version1">
<resultComponent>
<dimensionDescription />
<dimension />
</resultComponent>
</numl>
Thanks for letting me know, i fixed the Numl export. Unfortunately that is not quite what you want either, as it just writes out precisely what is in the report. This is an area where SED-ML needs to improve. Potentially the data constructs in L1V3 will help.