| Total Complexity | 0 |
| Total Lines | 57 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | import sys |
||
| 2 | import os |
||
| 3 | |||
| 4 | print(sys.executable) |
||
| 5 | print(sys.path) |
||
| 6 | |||
| 7 | # Get current path: |
||
| 8 | pwd = os.path.dirname(os.path.abspath(__file__)) |
||
| 9 | print(pwd) |
||
| 10 | |||
| 11 | script_root = os.path.dirname(pwd) |
||
| 12 | print(script_root) |
||
| 13 | sys.path.append(script_root) |
||
| 14 | print(sys.path) |
||
| 15 | print("OKAY") |
||
| 16 | |||
| 17 | from DICOM.test_DICOM import test_DICOM_validator, test_DICOM_RequireDecompression, test_DICOM_anonymizer, test_DICOM_retrieveMRN, test_DICOM_update, test_DICOM_computerScanAge |
||
| 18 | test_DICOM_validator() |
||
| 19 | test_DICOM_RequireDecompression() |
||
| 20 | test_DICOM_anonymizer() |
||
| 21 | test_DICOM_retrieveMRN() |
||
| 22 | test_DICOM_update() |
||
| 23 | test_DICOM_computerScanAge() |
||
| 24 | |||
| 25 | from Integration.test_Integration import test_updateLocalTimepoint |
||
| 26 | test_updateLocalTimepoint() |
||
| 27 | |||
| 28 | from LocalDB.test_LocalDBCreate import test_LocalDBCreate, test_LocalDBCreate_CNBP |
||
| 29 | test_LocalDBCreate() |
||
| 30 | test_LocalDBCreate_CNBP() |
||
| 31 | |||
| 32 | from LocalDB.test_LocalDBQuery import test_CheckSubjectExist, test_CreateSubject, test_CreateSubjectCheckExist, test_SubjectUpdate |
||
| 33 | test_CheckSubjectExist() |
||
| 34 | test_CreateSubject() |
||
| 35 | test_CreateSubjectCheckExist() |
||
| 36 | test_SubjectUpdate() |
||
| 37 | |||
| 38 | from LORIS.test_LORIS_helper import test_number_extraction |
||
| 39 | test_number_extraction() |
||
| 40 | |||
| 41 | from LORIS.test_LORIS_Query import test_checkPSCIDExist, test_checkDCCIDExist, test_LORIS_get, test_LORIS_login |
||
| 42 | test_checkPSCIDExist() |
||
| 43 | test_checkDCCIDExist() |
||
| 44 | test_LORIS_get() |
||
| 45 | test_LORIS_login() |
||
| 46 | |||
| 47 | from LORIS.test_LORIS_timepoint import test_visit_number_extraction |
||
| 48 | test_visit_number_extraction() |
||
| 49 | |||
| 50 | from orthanc.test_orthanc import test_getSubjects, test_deleteSubjects |
||
| 51 | test_getSubjects() |
||
| 52 | test_deleteSubjects() |
||
| 53 | |||
| 54 | from oshelper.test_file_ops import test_recursive_load, test_copy_files_to_flat_folder |
||
| 55 | test_recursive_load() |
||
| 56 | test_copy_files_to_flat_folder() |
||
| 57 |