def get_subsample(self, subsample_name):
subsamples = self.get_subsamples([subsample_name])<EOL>if len(subsamples) > <NUM_LIT:1>:<EOL><INDENT>_LOGGER.error("<STR_LIT>")<EOL><DEDENT>try:<EOL><INDENT>return subsamples[<NUM_LIT:0>]<EOL><DEDENT>except IndexError:<EOL><INDENT>raise ValueError("<STR_LIT>".<EOL>format(self.name, subsample_name))<EOL><DEDENT>
Retrieve a single subsample by name.

:param str subsample_name: The name of the desired subsample. Should 
    match the subsample_name column in the subannotation sheet.
:return peppy.Subsample: Requested Subsample object