Module to load and save Evoware table files.
- Source:
Methods
-
<static> load(carrierData, filename)
-
Parses an Evoware
.esc
script file, extracting the table setup.Parameters:
Name Type Description carrierData
EvowareCarrierData filename
string - Source:
Returns:
a table layout, keys are carrier names, sub-keys are gridIndexes or properties, sub-sub-keys are siteIndexes or property, and sub-sub-sub-keys {label, labwareModelName}
- Type
- object
-
<static> toString_internalCarriers(carrierData, table)
-
Create a string representation of the internal carriers
Parameters:
Name Type Description carrierData
EvowareCarrierData data loaded from an evoware carrier file
table
object a table layout, keys are carrier names, sub-keys are gridIndexes or properties, sub-sub-keys are siteIndexes or property, and sub-sub-sub-keys {label, labwareModelName}
- Source:
Returns:
string representation of internal carriers
- Type
- string
-
<static> toStrings(carrierData, table)
-
Create a string representation of an Evoware table layout
Parameters:
Name Type Description carrierData
EvowareCarrierData data loaded from an evoware carrier file
table
object a table layout, keys are carrier names, sub-keys are gridIndexes or properties, sub-sub-keys are siteIndexes or property, and sub-sub-sub-keys {label, labwareModelName}
- Source:
Returns:
string representation of table layout
- Type
- string
-
<static> toStrings_externals(carrierData, table)
-
Create a string representation of external carriers
Parameters:
Name Type Description carrierData
EvowareCarrierData data loaded from an evoware carrier file
table
object a table layout, keys are carrier names, sub-keys are gridIndexes or properties, sub-sub-keys are siteIndexes or property, and sub-sub-sub-keys {label, labwareModelName}
- Source:
Returns:
string representation of external carriers
- Type
- string
-
<static> toStrings_hotels(carrierData, table)
-
Create a string representation of the hotels
Parameters:
Name Type Description carrierData
EvowareCarrierData data loaded from an evoware carrier file
table
object a table layout, keys are carrier names, sub-keys are gridIndexes or properties, sub-sub-keys are siteIndexes or property, and sub-sub-sub-keys {label, labwareModelName}
- Source:
Returns:
string representation of hotels
- Type
- string
-
<static> toStrings_internalLabware(carrierData, table)
-
Create a string representation of the internal labware
Parameters:
Name Type Description carrierData
EvowareCarrierData data loaded from an evoware carrier file
table
object a table layout, keys are carrier names, sub-keys are gridIndexes or properties, sub-sub-keys are siteIndexes or property, and sub-sub-sub-keys {label, labwareModelName}
- Source:
Returns:
string representation of internal labware
- Type
- string
-
<inner> parse14(carrierData, l, lines)
-
Parse a table.
Parameters:
Name Type Description carrierData
EvowareCarrierData l
array array of string representing the elements of the current line
lines
EvowareSemicolonFile array of lines from the Carrier.cfg
- Source:
Returns:
a table layout, keys are carrier names, sub-keys are gridIndexes or properties, sub-sub-keys are siteIndexes or property, and sub-sub-sub-keys {label, labwareModelName}
- Type
- object
-
<inner> parse14_getCarrierIds(l)
-
Extract array where the array index is the grid index and the value is the carrier ID. This information is on the first line of the table definition. A -1 value for the carrier ID means that there is no carrier at that grid.
Parameters:
Name Type Description l
array elements of line
- Source:
Returns:
array of carrier IDs on this table
- Type
- array
-
<inner> parse14_getExternalLabwares(lines)
-
Parse labware on external sites
Parameters:
Name Type Description lines
EvowareSemicolonFile lines of table file
- Source:
Returns:
list of tuples (carrier ID, labware model name)
- Type
- object
-
<inner> parse14_getExternalObjects(lines)
-
Parse the external objects.
Parameters:
Name Type Description lines
EvowareSemicolonFile lines of table file
- Source:
Returns:
an array of external objects
- Type
- array
-
<inner> parse14_getHotelObjects(lines)
-
Parse the hotel objects
Parameters:
Name Type Description lines
EvowareSemicolonFile lines of table file
- Source:
Returns:
an array of HotelObjects
- Type
- array
-
<inner> parse14_getLabwareObjects(carrierData, lines)
-
Get array of labwares on the table.
Parameters:
Name Type Description carrierData
EvowareCarrierData lines
EvowareSemicolonFile lines of table file
- Source:
Returns:
an array of tuples (carrier name, gridIndex, siteIndex, site label, labware model name)
- Type
- array