qcodes/instrument_drivers/tektronix/Keithley_6500.py
def _parse_output_string(string_value: str) -> str:
    """ Parses and cleans string output of the multimeter. Removes the surrounding
        whitespace, newline characters and quotes from the parsed data. Some results
        are converted for readablitity (e.g. mov changes to moving).

    Args:
        string_value: The data returned from the multimeter reading commands.

    Returns:
        The cleaned-up output of the multimeter.
    """
    s = string_value.strip().lower()
    if (s[0] == s[-1]) and s.startswith(("'", '"')):
        s = s[1:-1]

    conversions = {'mov': 'moving', 'rep': 'repeat'}
    if s in conversions.keys():
        s = conversions[s]
    return s
 Parses and cleans string output of the multimeter. Removes the surrounding
        whitespace, newline characters and quotes from the parsed data. Some results
        are converted for readablitity (e.g. mov changes to moving).

    Args:
        string_value: The data returned from the multimeter reading commands.

    Returns:
        The cleaned-up output of the multimeter.
    
Parses and cleans string output of the multimeter. Removes the surrounding
whitespace, newline characters and quotes from the parsed data. Some results
are converted for readablitity .
Parses and cleans string output of the multimeter . Removes the surrounding whitespace newline characters and quotes from the parsed data . Some results are converted for readablitity .
def _parse_output_string(string_value: str) -> str:
    s = string_value.strip().lower()
    if (s[0] == s[-1]) and s.startswith(("'", '"')):
        s = s[1:-1]
    conversions = {'mov': 'moving', 'rep': 'repeat'}
    if s in conversions.keys():
        s = conversions[s]
    return s
def _parse_output_string ( string_value : str ) -> str : s = string_value . strip ( ) . lower ( ) if ( s [ 0 ] == s [ - 1 ] ) and s . startswith ( ( "'" , '"' ) ) : s = s [ 1 : - 1 ] conversions = { 'mov' : 'moving' , 'rep' : 'repeat' } if s in conversions . keys ( ) : s = conversions [ s ] return s
Parses and cleans string output of the multimeter.
Parses and cleans string output of the multimeter .
""" Parses and cleans string output of the multimeter. Removes the surrounding
        whitespace, newline characters and quotes from the parsed data. Some results
        are converted for readablitity (e.g. mov changes to moving).

    Args:
        string_value: The data returned from the multimeter reading commands.

    Returns:
        The cleaned-up output of the multimeter.
    """
The cleaned-up output of the multimeter.
The cleaned - up output of the multimeter .
string_value
str
The data returned from the multimeter reading commands.
The data returned from the multimeter reading commands .