def add_subvolume(self, token, channel, secret,<EOL>x_start, x_stop,<EOL>y_start, y_stop,<EOL>z_start, z_stop,<EOL>resolution, title, notes):
md = self.get_metadata(token)['<STR_LIT>']<EOL>if '<STR_LIT>' in md:<EOL><INDENT>subvols = md['<STR_LIT>']<EOL><DEDENT>else:<EOL><INDENT>subvols = []<EOL><DEDENT>subvols.append({<EOL>'<STR_LIT>': token,<EOL>'<STR_LIT>': channel,<EOL>'<STR_LIT>': x_start,<EOL>'<STR_LIT>': x_stop,<EOL>'<STR_LIT>': y_start,<EOL>'<STR_LIT>': y_stop,<EOL>'<STR_LIT>': z_start,<EOL>'<STR_LIT>': z_stop,<EOL>'<STR_LIT>': resolution,<EOL>'<STR_LIT:title>': title,<EOL>'<STR_LIT>': notes<EOL>})<EOL>return self.set_metadata(token, {<EOL>'<STR_LIT>': secret,<EOL>'<STR_LIT>': subvols<EOL>})<EOL>
Adds a new subvolume to a token/channel.

Arguments:
    token (str): The token to write to in LIMS
    channel (str): Channel to add in the subvolume. Can be `None`
    x_start (int): Start in x dimension
    x_stop (int): Stop in x dimension
    y_start (int): Start in y dimension
    y_stop (int): Stop in y dimension
    z_start (int): Start in z dimension
    z_stop (int): Stop in z dimension
    resolution (int): The resolution at which this subvolume is seen
    title (str): The title to set for the subvolume
    notes (str): Optional extra thoughts on the subvolume

Returns:
    boolean: success