#NEWLINE# def _pack_masks( h5 , masks ) : #NEWLINE# #INDENT# for ( subj , xfm , maskname ) in masks : #NEWLINE# #INDENT# mask = surfs . getMask ( subj , maskname , maskname ) #NEWLINE# group = ( '/subjects/%s/transforms/%s/masks' % ( subj , xfm ) ) #NEWLINE# _hdf_write ( h5 , mask , maskname , group )