Commit 092e008
committed
Use Variable.getName() for synthesised queried-term column
The queried-term column (Downstream_Class for an upstream call and
vice versa) was emitting variable.getId() — so the v2 table showed
"FBbt_00100246" instead of "mushroom body output neuron 11".
Variable.getName() resolves to the human label via Node.getName() on
the EMF parent (verified against org.geppetto.model/.../Node.java tag
vfb_20200604_a). Earlier I dropped it after conflating with the
AQueryResult.getValues() compile error — different issue, Variable
exposes it just fine.
Falls back to id if name is null/empty.1 parent 0c1caed commit 092e008
1 file changed
Lines changed: 6 additions & 5 deletions
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| |||
0 commit comments