synbiopython.lab_automation.tools

Miscellaneous useful functions.

In particular, methods for converting to and from plate coordinates.

synbiopython.lab_automation.tools.find_best_volume_unit(vols)[source]

Find the best volume unit for a list of volumes.

synbiopython.lab_automation.tools.human_seq_size(n)[source]

Return the given sequence as a human friendly 35b, 1.4k, 15k, etc.

synbiopython.lab_automation.tools.human_volume(vol, unit='auto')[source]

Return a human-readable volume.

synbiopython.lab_automation.tools.replace_nans_in_dict(dictionary, replace_by='null')[source]

Replace NaNs in a dictionary with a string.

Parameters
  • dictionary (dict) – the dictionary

  • replace_by (str) – replacement

synbiopython.lab_automation.tools.round_at(value, rounding=None)[source]

Round value at the nearest rounding.

Parameters

value – the value to round