APSIMInitiative / APSIM710

APSIM
https://www.apsim.info
30 stars 47 forks source link

ApsimX: Trailing spaces in report variables form part of the variable name #1343

Closed ApsimBot closed 5 years ago

ApsimBot commented 5 years ago

Legacy Bug ID: 1910 Author: Justin Date: 2014-07-03 11:47:35 +0000 UTC

If a trailing (possible leading; not tested) space is included as part of a variable name in the report component, it forms part of the name the report module looks for. It won't find it so reports a blank variable. This is very difficult to find since there's no visual indication of an extra space (I found it by looking at the XML). Might want to .Trim() variable names.

ApsimBot commented 5 years ago

Author: hol353 Date: 2014-07-10 15:21:00 +0000 UTC

Fixed on 10th July 2014.