def _is_scaled_mri_subject(subject, subjects_dir=None):
 subjects_dir = get_subjects_dir(subjects_dir, raise_error=True)
 if (not _is_mri_subject(subject, subjects_dir)):
  return False
 fname = os.path.join(subjects_dir, subject, 'MRI scaling parameters.cfg')
 return os.path.exists(fname)

def _is_scaled_mri_subject ( subject , subjects_dir = None ) : subjects_dir = get_subjects_dir ( subjects_dir , raise_error = True ) if ( not _is_mri_subject ( subject , subjects_dir ) ) : return False fname = os . path . join ( subjects_dir , subject , 'MRI scaling parameters.cfg' ) return os . path . exists ( fname )
check whether a directory in subjects_dir is a scaled mri subject .