Module: EvowareCarrierFile

Loads data from an Evoware carrier file.

Source:

Methods


<static> load(filename)

Load an evoware carrier file and return its model data.

Parameters:
Name Type Description
filename string

path to the carrier file

Source:
Returns:
Type
EvowareCarrierData

<inner> loadEvowareModels(filename)

Parses the file Carrier.cfg into a list of EvowareModels.

Parameters:
Name Type Description
filename string

path to the carrier file

Source:
Returns:

an array of EvowareModels (e.g. Carriers, Vectors, EvowareLabwareModels)

Type
array

<inner> makeEvowareCarrierData(modelList)

Create an EvowareCarrierData object from an array of evoware models.

Parameters:
Name Type Description
modelList array

array of evoware models

Source:
Returns:
Type
EvowareCarrierData

<inner> parse13(l, lines)

Parse a carrier object; carrier lines begin with "13"

Parameters:
Name Type Description
l array

array of string representing the elements of the current line

lines EvowareSemicolonFile

array of lines from the Carrier.cfg

Source:
Returns:

a Carrier.

Type
Carrier

<inner> parse15(l, lines)

Parse a labware object; labware lines begin with "15"

Parameters:
Name Type Description
l array

array of string representing the elements of the current line

lines EvowareSemicolonFile

array of lines from the Carrier.cfg

Source:
Returns:

a new LabwareModel.

Type
LabwareModel

<inner> parse17(l, lines)

Parse a vector object; vector lines begin with "17"

Parameters:
Name Type Description
l array

array of string representing the elements of the current line

lines EvowareSemicolonFile

array of lines from the Carrier.cfg

Source:
Returns:

a new Vector, if any

Type
Vector

<inner> parse998(s)

Parse a line with the expected lineType=998. Discards the linetype and just returns a list of strings elements.

Parameters:
Name Type Description
s string

the line

Source:
Returns:

array of line elements

Type
array

<inner> parseModel(lines)

Parse the line and return a model, if relevant.

Parameters:
Name Type Description
lines EvowareSemicolonFile

array of lines from the Carrier.cfg

Source:
Returns:

an optional model.

Type
array

Type Definitions


EvowareModel

A base type for evoware models, one of Carrier, LabwareModel, or Vector.

Type:
  • object
Properties:
Name Type Description
type string

the type of model

Source: