Skip to main content

ID Sequence Arguments

Format strings for Entity, Experiment, and Item ID Sequences support the following arguments:

  • {entity_type}: name of the entity type (string); Entity only

  • {item_type}: name of the item type (string); Item only

  • {sequence_number}: value of the sequence (integer)

  • {workflow}: name of the Workflow (string); Experiment only (L7 LIMS)

  • {date}: current date in "YYYY-MM-DD" format (string)

  • {time}: current time in "HHMMSS" format (string)

Note

You may also use the variable datetime, which can be formatted using strptime.

  • {datetime:%b %d %Y %I:%M %p}

Note

By default, dates and times are reported as Universal Time Coordinated (UTC).

In Sample Protocols, the following additional arguments are available:

  • {parents}: list of parent names; can be joined using a custom formatter:

    • {parents:join -} produces "parent1-parent2-...-parentN"; fan-in only

  • {experiment}: name of experiment

  • {worksheet}: name of LIMS worksheet

In fan-out and 1-to-1 Sample Protocols, the following additional arguments are available:

  • {parent}: name of parent

  • {total_child_count}: total # of child Entities that exist for {parent}, inclusive of the Entity being named

    • {parent}-{total_child_count:02}

  • {entity_type_child_count}: total # of child Entities that exist for {parent} that are of the same type as the Entity being named, inclusive of the Entity being named

    • {parent}-{entity_type_child_count:02}