def requires_nibabel(vox2ras_tkr=False):
 extra = (' with vox2ras_tkr support' if vox2ras_tkr else '')
 return np.testing.dec.skipif((not has_nibabel(vox2ras_tkr)), ('Requires nibabel%s' % extra))

def requires_nibabel ( vox2ras_tkr = False ) : extra = ( ' with vox2ras_tkr support' if vox2ras_tkr else '' ) return np . testing . dec . skipif ( ( not has_nibabel ( vox2ras_tkr ) ) , ( 'Requires nibabel%s' % extra ) )
aux function .