Breaking changes

Templates created with older visionCATS versions may not work anymore after updating. If you only modified a few things, it may be more easy to redo these modifications from an up to date template.

In the case you did some complex and extensive modifications, please use the following list of changes to update your templates.

visionCATS 3.0

New instrument names

As instruments were renamed in visionCATS, the conditions used to select specific instrument partial templates needed to change. To avoid future changes, the user friendly names were discarded and replaced by an integer values.

2.5:

{{#ifCond InstrumentType "Derivatization dip"}}

3.0:

{{#ifCond Instrument 1002}}

It affects chromatography.html and dataAcquisition.html files.

2.5

3.0

InstrumentType “ATS4”

Instrument 5

InstrumentType “Linomat5”

Instrument 7

InstrumentType “Nanomat”

Instrument 101

InstrumentType “ADC2”

Instrument 8

InstrumentType “AMD2”

Instrument 4

InstrumentType “Chamber”

Instrument 100

InstrumentType “Derivatization dip”

Instrument 100

InstrumentType “Derivatization spray”

Instrument 1004

InstrumentType “Derivatizer”

Instrument 1005

InstrumentType “Visualizer”

Instrument 9

InstrumentType “Visualizer 2”

Should be removed (is also Instrument 9)

InstrumentType “Scanner3”

Instrument 3

InstrumentType “Scanner4”

Instrument 10

visionCATS 2.5

Unit converter functions

The convertMicroConcentrationToBestUnit and convertMicroMassToBestUnit functions used in Javascript and the corresponding Handlebars helpers are now obsolete. The text would be rendered as <OBSOLETE>. Please use the convertMicroConcentrationToBestUnitV2 and convertMicroMassToBestUnitV2 functions instead.

Sample reference amount

Sample reference amount was added in default templates.