impact.parsers module

impact.parsers.HPLC_titer_parser(experiment, data, id_type='CSV')
class impact.parsers.Parser

Bases: object

Methods

parse_raw_data([data_format, id_type, …]) Parses raw data into an experiment object
register_parser(parser_name, parser_method)
classmethod parse_raw_data(data_format=None, id_type='traverse', file_name=None, data=None, experiment=None)

Parses raw data into an experiment object

Parameters:

format (str): spectromax_OD, spectromax_OD_triplicate, default_titers, tecan_OD

id_type (str): traverse (id1:value|id2:value) or CSV (deprecated)

file_name (str): path to structured file

data (str): dictionary containing data with sheets appropriate to parser

experiment (str): `Experiment` instance to parse data into, will create new instance if None

Returns:

Experiment

parser_case_dict = {'default_titers': <function HPLC_titer_parser at 0x000001AEE102A048>, 'spectromax_OD': <function spectromax_OD at 0x000001AEE102A378>, 'spectromax_OD_triplicate': <function spectromax_OD_triplicate at 0x000001AEE102A400>, 'tecan_OD': <function tecan_OD at 0x000001AEE102A620>}
classmethod register_parser(parser_name, parser_method)
impact.parsers.parse_analyte_data(analyte_data_list)
impact.parsers.parse_raw_data(format=None, id_type='CSV', file_name=None, data=None, experiment=None)

Parses raw data into an experiment object (deprecated, use class based parser)

Parameters:

format (str): spectromax_OD, spectromax_OD_triplicate, default_titers, tecan_OD

id_type (str): traverse (id1:value|id2:value) or CSV (deprecated)

file_name (str): path to structured file

data (str): dictionary containing data with sheets appropriate to parser

experiment (str): `Experiment` instance to parse data into, will create new instance if None

Returns:

Experiment

impact.parsers.parse_raw_identifier(raw_identifier, id_type)
impact.parsers.parse_single_trial_list(single_trial_list)
impact.parsers.parse_time_point_list(time_point_list)
impact.parsers.spectromax_OD(experiment, data, id_type='CSV')
impact.parsers.spectromax_OD_triplicate(experiment, data, id_type='CSV')
impact.parsers.tecan_OD(experiment, data, id_type='CSV')