dax/dax_tools_utils.py
def is_complete(assessor_dict, procstatus):
    """
    Copy the oulog files to the assessor folder if we are uploading.

    :param assessor_dict: dictionary for the assessor
    :param procstatus: status to set for the assessor
    :return: True if the assessor is Complete, False otherwise
    """
    if procstatus == READY_TO_COMPLETE or procstatus == COMPLETE:
        eflag = os.path.join(assessor_dict['path'], _EMAILED_FLAG_FILE)
        open(eflag, 'w').close()
        LOGGER.warn('  -->Data already present on XNAT.\n')
        return True
    else:
        return False

    Copy the oulog files to the assessor folder if we are uploading.

    :param assessor_dict: dictionary for the assessor
    :param procstatus: status to set for the assessor
    :return: True if the assessor is Complete, False otherwise
    
Copy the oulog files to the assessor folder if we are uploading.
Copy the oulog files to the assessor folder if we are uploading .
def is_complete(assessor_dict, procstatus):
    if procstatus == READY_TO_COMPLETE or procstatus == COMPLETE:
        eflag = os.path.join(assessor_dict['path'], _EMAILED_FLAG_FILE)
        open(eflag, 'w').close()
        LOGGER.warn('  -->Data already present on XNAT.\n')
        return True
    else:
        return False
def is_complete ( assessor_dict , procstatus ) : if procstatus == READY_TO_COMPLETE or procstatus == COMPLETE : eflag = os . path . join ( assessor_dict [ 'path' ] , _EMAILED_FLAG_FILE ) open ( eflag , 'w' ) . close ( ) LOGGER . warn ( '  -->Data already present on XNAT.\n' ) return True else : return False
Copy the oulog files to the assessor folder if we are uploading.
Copy the oulog files to the assessor folder if we are uploading .
"""
    Copy the oulog files to the assessor folder if we are uploading.

    :param assessor_dict: dictionary for the assessor
    :param procstatus: status to set for the assessor
    :return: True if the assessor is Complete, False otherwise
    """
True if the assessor is Complete, False otherwise
True if the assessor is Complete False otherwise
assessor_dict
dictionary for the assessor
dictionary for the assessor
procstatus
status to set for the assessor
status to set for the assessor