How to use the dax.XnatUtils.InterfaceTemp function in dax

To help you get started, we’ve selected a few dax examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github VUIIS / dax / dax / XnatUtils.py View on Github external
def get_assessor_path(self, project, subject, session, assessor):
        return InterfaceTemp.A_XPATH.format(project=project,
                                            subject=subject,
                                            session=session,
                                            assessor=assessor)
github VUIIS / dax / dax / XnatUtils.py View on Github external
def get_interface(host=None, user=None, pwd=None):
    """
    Opens a connection to XNAT.

    :param host: URL to connect to XNAT
    :param user: XNAT username
    :param pwd: XNAT password
    :return: InterfaceTemp object which extends functionaly of pyxnat.Interface

    """
    return InterfaceTemp(host, user, pwd)
github VUIIS / dax / dax / XnatUtils.py View on Github external
def get_subject_path(self, project, subject):
        return InterfaceTemp.S_XPATH.format(project=project,
                                            subject=subject)
github VUIIS / dax / dax / XnatUtils.py View on Github external
def get_scan_resource_path(self,
                               project, subject, session, scan, resource):

        return InterfaceTemp.CR_XPATH.format(project=project,
                                             subject=subject,
                                             session=session,
                                             scan=scan,
                                             resource=resource)
github VUIIS / dax / dax / XnatUtils.py View on Github external
def get_assessor_resource_path(
            self, project, subject, session, assessor, resource):
        return InterfaceTemp.AR_XPATH.format(project=project,
                                             subject=subject,
                                             session=session,
                                             assessor=assessor,
                                             resource=resource)
github VUIIS / dax / dax / XnatUtils.py View on Github external
def get_experiment_path(self, project, subject, session):
        return InterfaceTemp.E_XPATH.format(project=project,
                                            subject=subject,
                                            session=session)
github VUIIS / dax / dax / XnatUtils.py View on Github external
def disconnect(self):
        super(InterfaceTemp, self).disconnect()