copyxnat.commands.check_datatypes_command module

Command which checks if destination server has all the scan datatypes that are present on the source server

class copyxnat.commands.check_datatypes_command.CheckDatatypesCommand(inputs, scope)[source]

Bases: copyxnat.xnat.commands.Command

Command which checks if destination server has all the scan datatypes that are present on the source server

CACHE_TYPE = 'cache'
COMMAND_LINE = 'check-datatypes'
HELP = 'Check if session data types on source XNAT are present on destination'
MODIFY_DST_SERVER = False
MODIFY_SRC_SERVER = False
NAME = 'Check Datatypes'
SUPPLEMENTAL_DATATYPE_INFO = {'icr:roiCollectionData': 'This datatype can be added by installing the XNAT-OHIF Viewer Plugin (https://bitbucket.org/icrimaginginformatics/ohif-viewer-xnat-plugin)', 'proc:genProcData': 'This datatype can be added by installing the DAX plugin (https://github.com/VUIIS/dax)'}
USE_DST_SERVER = True
VERB = 'check'
print_results()[source]

Output results to user