I’ve a problem with the Reformat Transform Editor in CloverGUI 1.10.1 deleting/rewriting some of my transform code.
Specifically on the Source tab, if i enter something like
if (${in.0.source} > 100) {
…
}
save and exit the Transform Editor then re-open in, the whole IF construct is removed. How do I stop this happening? If I can get the code entered without being mangled, the graph runs as required.
Hi,
when you switch from the source tab to the visual mapping tab, then only simple mappings as ${output_field} := ${input_field1} + ${input_field2) etc are converted. anything more complicated (as conditions, cycles) is erased. this is because the visual mapping tab is designed only to edit mappings, not more complicated things.
this behavior will be changed in the next version, i.e. CloverGUI 2.0. then you will get a warning telling you that some parts of the source cannot be converted and you will not loose any source.