Commit e7edebf
authored
petab.calculate: compare all common columns (#347)
For computing residuals, ... from measurement + simulation tables,
we need to match the corresponding rows. Previously, this was done
using a subset of PEtab measurement table columns and checking
whether all values in these columns match.
This changes it to using the full set of overlapping columns,
not only the known measurement columns.
With that, the same functions can be used for PEtab v2
measurement/simulation tables.1 parent cc33da2 commit e7edebf
1 file changed
+12
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
| 109 | + | |
113 | 110 | | |
114 | 111 | | |
115 | 112 | | |
| |||
127 | 124 | | |
128 | 125 | | |
129 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
130 | 137 | | |
131 | 138 | | |
132 | 139 | | |
| |||
343 | 350 | | |
344 | 351 | | |
345 | 352 | | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
| 353 | + | |
350 | 354 | | |
351 | 355 | | |
352 | 356 | | |
| |||
0 commit comments