das-developers / das2java

The original das2 library. Provides interactive publication-ready 2-D plotting
https://das2.org
GNU Lesser General Public License v3.0
4 stars 0 forks source link

DataPointRecorder manual configuration broken after formatterArray introduced #60

Open jbfaden opened 1 year ago

jbfaden commented 1 year ago

Bill noticed a script using the DataPointRecorder was now broken. It was because some time in the past year or so I'd made it so that the formatters could be individually controlled, and I hadn't considered the case where the script manually configures each column. The array formatters was left null and the code assumed that it would be non-null.

This is fixed, falling back to the old logic when formatters is null.

jbfaden commented 1 year ago

Whoops, save to file needs similar code.