<commit_before>from collections import namedtuple


# Default number of seconds to aspirate/dispense a pipette's full volume,
# and these times were chosen to mimic normal human-pipetting motions.
# However, accurate speeds are dependent on environment (ex: liquid viscosity),
# therefore a pipette's flow-rates (ul/sec) should be set by protocol writer
DEFAULT_ASPIRATE_SECONDS = 2
DEFAULT_DISPENSE_SECONDS = 1

pipette_config = namedtuple(
    'pipette_config',
    [
        'plunger_positions',
        'pick_up_current',
        'aspirate_flow_rate',
        'dispense_flow_rate',
        'ul_per_mm',
        'channels',
        'name'
    ]
)

p10_single = pipette_config(
    plunger_positions={
        'top': 18,
        'bottom': 2,
        'blow_out': 0,
        'drop_tip': -6
    },
    pick_up_current=0.05,
    aspirate_flow_rate=10 / DEFAULT_ASPIRATE_SECONDS,
    dispense_flow_rate=10 / DEFAULT_DISPENSE_SECONDS,
    ul_per_mm=0.617,
    channels=1,
    name='p10_single'
)

p10_multi = pipette_config(
    plunger_positions={
        'top': 18,
        'bottom': 2,
        'blow_out': 0,
        'drop_tip': -6
    },
    pick_up_current=0.2,
    aspirate_flow_rate=10 / DEFAULT_ASPIRATE_SECONDS,
    dispense_flow_rate=10 / DEFAULT_DISPENSE_SECONDS,
    ul_per_mm=0.617,
    channels=8,
    name='p10_multi'
)

p300_single = pipette_config(
    plunger_positions={
        'top': 18,
        'bottom': 2,
        'blow_out': 0,<commit_msg>increases p10 pick_up_tip() current to 0.1amps for bots with brass Z nuts (#872)<commit_after>from collections import namedtuple


# Default number of seconds to aspirate/dispense a pipette's full volume,
# and these times were chosen to mimic normal human-pipetting motions.
# However, accurate speeds are dependent on environment (ex: liquid viscosity),
# therefore a pipette's flow-rates (ul/sec) should be set by protocol writer
DEFAULT_ASPIRATE_SECONDS = 2
DEFAULT_DISPENSE_SECONDS = 1

pipette_config = namedtuple(
    'pipette_config',
    [
        'plunger_positions',
        'pick_up_current',
        'aspirate_flow_rate',
        'dispense_flow_rate',
        'ul_per_mm',
        'channels',
        'name'
    ]
)

p10_single = pipette_config(
    plunger_positions={
        'top': 18,
        'bottom': 2,
        'blow_out': 0,
        'drop_tip': -6
    },
    pick_up_current=0.1,
    aspirate_flow_rate=10 / DEFAULT_ASPIRATE_SECONDS,
    dispense_flow_rate=10 / DEFAULT_DISPENSE_SECONDS,
    ul_per_mm=0.617,
    channels=1,
    name='p10_single'
)

p10_multi = pipette_config(
    plunger_positions={
        'top': 18,
        'bottom': 2,
        'blow_out': 0,
        'drop_tip': -6
    },
    pick_up_current=0.2,
    aspirate_flow_rate=10 / DEFAULT_ASPIRATE_SECONDS,
    dispense_flow_rate=10 / DEFAULT_DISPENSE_SECONDS,
    ul_per_mm=0.617,
    channels=8,
    name='p10_multi'
)

p300_single = pipette_config(
    plunger_positions={
        'top': 18,
        'bottom': 2,
        'blow_out': 0,
{'fraction_non_alphanumeric': 0.10113864701942397, 'fraction_numerical': 0.03549899531145345, 'mean_word_length': 2.951058201058201, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6529712', 'n_tokens_mistral': 1153, 'n_tokens_neox': 1046, 'n_words': 223}