dax/dax_tools_utils.py
def create_freesurfer_assessor(assessor_obj):
    """
    Create freesurfer specific assessor using the DEFAULT_FS_DATATYPE from dax

    :param assessor_obj: pyxnat assessor Eobject
    :return: None
    """
    # create the assessor and set the status
    assessor_obj.create(assessors=DEFAULT_FS_DATATYPE,
                        **{DEFAULT_FS_DATATYPE + '/fsversion': '0'})
    now = datetime.now()
    today = '%s-%s-%s-' % (str(now.year), str(now.month), str(now.day))

    assessor_obj.attrs.mset(
        {DEFAULT_FS_DATATYPE + '/validation/status': JOB_PENDING,
         DEFAULT_FS_DATATYPE + '/date': today})

    Create freesurfer specific assessor using the DEFAULT_FS_DATATYPE from dax

    :param assessor_obj: pyxnat assessor Eobject
    :return: None
    
Create freesurfer specific assessor using the DEFAULT_FS_DATATYPE from dax
Create freesurfer specific assessor using the DEFAULT_FS_DATATYPE from dax
def create_freesurfer_assessor(assessor_obj):
    assessor_obj.create(assessors=DEFAULT_FS_DATATYPE,
                        **{DEFAULT_FS_DATATYPE + '/fsversion': '0'})
    now = datetime.now()
    today = '%s-%s-%s-' % (str(now.year), str(now.month), str(now.day))
    assessor_obj.attrs.mset(
        {DEFAULT_FS_DATATYPE + '/validation/status': JOB_PENDING,
         DEFAULT_FS_DATATYPE + '/date': today})
def create_freesurfer_assessor ( assessor_obj ) : assessor_obj . create ( assessors = DEFAULT_FS_DATATYPE , ** { DEFAULT_FS_DATATYPE + '/fsversion' : '0' } ) now = datetime . now ( ) today = '%s-%s-%s-' % ( str ( now . year ) , str ( now . month ) , str ( now . day ) ) assessor_obj . attrs . mset ( { DEFAULT_FS_DATATYPE + '/validation/status' : JOB_PENDING , DEFAULT_FS_DATATYPE + '/date' : today } )
Create freesurfer specific assessor using the DEFAULT_FS_DATATYPE from dax
Create freesurfer specific assessor using the DEFAULT_FS_DATATYPE from dax
"""
    Create freesurfer specific assessor using the DEFAULT_FS_DATATYPE from dax

    :param assessor_obj: pyxnat assessor Eobject
    :return: None
    """ # create the assessor and set the status
None
assessor_obj
pyxnat assessor Eobject
pyxnat assessor Eobject