Skip to content
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
422 commits
Select commit Hold shift + click to select a range
dcf7f35
Update
Nowhere4Nothing Sep 22, 2025
aef2705
Merge pull request #28 from Nowhere4Nothing/WillUpdateSave/Load/NoneB…
mattbrgn Sep 22, 2025
cb85b82
fixing typos
AJB-BigA Sep 22, 2025
774fbcb
Adding Selection Save GUI
Kahreiru Sep 22, 2025
ad685e5
Merge branch 'dev_matt2' into dev_tim3
Timmy-Codes Sep 22, 2025
0679d1c
Added Save Name Message Box
Kahreiru Sep 22, 2025
ad5043f
Stylesheet updates
Kahreiru Sep 22, 2025
1e2f371
Moved check _valid_nifti_data above resampling in NiftiToRtstructConv…
Timmy-Codes Sep 22, 2025
765e32f
Fixed init_color_roi function in StructureTab.py to obtain ROI number…
Timmy-Codes Sep 22, 2025
cf4cca8
Adding select all and deselect all options
Kahreiru Sep 22, 2025
23dab0f
Added select, deseleect all and close buttons
Kahreiru Sep 22, 2025
9b40450
Added Sourcery suggested checking and generally improved function rob…
Timmy-Codes Sep 23, 2025
49db815
Removed unused import
Timmy-Codes Sep 23, 2025
e47f2a2
setting up buttons and communication
Kahreiru Sep 23, 2025
06bd238
refactoring AutoSegWindow
Kahreiru Sep 23, 2025
873ff69
continued refactoring
Kahreiru Sep 23, 2025
bf1a275
continued refactoring
Kahreiru Sep 23, 2025
ef747ec
continued refactoring
Kahreiru Sep 23, 2025
b9ecd1f
refactoring
Kahreiru Sep 23, 2025
69ed799
Merge remote-tracking branch 'origin/SelectionSave' into SelectionSave
Kahreiru Sep 23, 2025
069fd13
adding button functionality
Kahreiru Sep 23, 2025
36da493
making button connections
Kahreiru Sep 23, 2025
46a198e
fixed loop
AJB-BigA Sep 24, 2025
a9d3924
fixed Select all / Unselect all not ticking some options
Kahreiru Sep 24, 2025
1e3fa17
fixing test strings
Kahreiru Sep 24, 2025
1794ec7
Merge remote-tracking branch 'origin/SelectionSave' into SelectionSave
Kahreiru Sep 24, 2025
d777eca
Merge branch 'didymo:master' into SelectionSave
Kahreiru Sep 24, 2025
ce57ca5
fixed undo crash
AJB-BigA Sep 24, 2025
9039931
Merge pull request #379 from BurdManMan/dev
didymo Sep 24, 2025
ce38da5
fixed bug where only one tick box for same selection is ticked when m…
Kahreiru Sep 24, 2025
586c30b
removed fast fastest options from segmentation_list.csv
Kahreiru Sep 24, 2025
19d5efd
Added docstring and better var names
mattbrgn Sep 24, 2025
8beedff
Merge pull request #29 from Nowhere4Nothing/fix-pr-381
mattbrgn Sep 24, 2025
666d9c3
Update based on Matts & Tims comments
Nowhere4Nothing Sep 25, 2025
b1479ab
Update from sorcerys suggesttions
Nowhere4Nothing Sep 25, 2025
2fcd29b
Update manual fusion loader
Nowhere4Nothing Sep 25, 2025
dbc81c2
Merge pull request #30 from Nowhere4Nothing/ewfg
Nowhere4Nothing Sep 25, 2025
4c95653
Add doc stings
Nowhere4Nothing Sep 25, 2025
2bc06c2
Merge pull request #31 from Nowhere4Nothing/ewfg
Nowhere4Nothing Sep 25, 2025
dc711d6
Updated Windowing
Nowhere4Nothing Sep 25, 2025
2669600
Merge branch 'master' into WindowingNew
Nowhere4Nothing Sep 26, 2025
1d70829
Update Windowing levels
Nowhere4Nothing Sep 26, 2025
720d5c7
Update Buttons
Nowhere4Nothing Sep 26, 2025
07a6476
Update manualfusion loader
Nowhere4Nothing Sep 26, 2025
45de5dd
Accurate ROI transfer (for some)
mattbrgn Sep 26, 2025
a75e5a9
Produce inverted matrix from vtk engine
mattbrgn Sep 26, 2025
b95d3b4
Fix bug causing attribute error - no SOPClassUID, when loading rtss i…
Timmy-Codes Sep 27, 2025
d08b940
Merge pull request #380 from Timmy-Codes/dev_tim3
Timmy-Codes Sep 27, 2025
90f8835
Update based on matts advice
Nowhere4Nothing Sep 27, 2025
b3b3118
Added button styling to stylesheets
mattbrgn Sep 27, 2025
3c76357
Fix bug causing crash - incorrect function call to StructureTab.py fr…
Timmy-Codes Sep 27, 2025
c666070
Implemented Sourcery suggestions -
Timmy-Codes Sep 27, 2025
289dfc0
database
Kahreiru Sep 27, 2025
bdd1b3c
Merge pull request #381 from Nowhere4Nothing/master
didymo Sep 28, 2025
d142464
comment to retrigger actions
Timmy-Codes Sep 28, 2025
df036c4
Merge pull request #385 from Timmy-Codes/dev_tim
didymo Sep 29, 2025
c5d37a0
updated paths so that data is in the hidden directory as well
Kahreiru Sep 29, 2025
5c2bbff
Update main page and add comments
Nowhere4Nothing Sep 29, 2025
8029976
Updated main window and translation Menu
Nowhere4Nothing Sep 29, 2025
3521bb5
basic database actions created
Kahreiru Sep 29, 2025
6f694a1
added doc strings
Kahreiru Sep 29, 2025
42702d4
creating table in class initialization
Kahreiru Sep 29, 2025
8167976
a little refactoring
Kahreiru Sep 29, 2025
1a38a42
docstring and method name change
Kahreiru Sep 29, 2025
1c327b9
automated column additions
Kahreiru Sep 29, 2025
f36b9a7
code styling
Kahreiru Sep 29, 2025
3cab8ae
Merge branch 'SelectionSave' into dev
Kahreiru Sep 29, 2025
7e6e403
Merge pull request #2 from Kahreiru/dev
Kahreiru Sep 29, 2025
d8e5e3a
Fixed Imports for Transform Menu
mattbrgn Sep 30, 2025
ca165d1
Merge pull request #32 from Nowhere4Nothing/WindowingNew
mattbrgn Sep 30, 2025
1f07a6d
Merge branch 'master' into dev
mattbrgn Sep 30, 2025
05dcf9b
Revert "Merge branch 'master' into dev"
mattbrgn Sep 30, 2025
0452f8c
Added comments in VTK Engine for readability
mattbrgn Sep 30, 2025
5f488ca
Fixed mouse mode buttons
mattbrgn Sep 30, 2025
b50b87e
Removed debug lines
mattbrgn Sep 30, 2025
ec39960
Delete reference_results.md
mattbrgn Sep 30, 2025
831126d
fixed dereferencing issue
Kahreiru Sep 30, 2025
670e6ba
Merge branch 'master' into transfer-roi
mattbrgn Sep 30, 2025
6850a85
returns column list
Kahreiru Sep 30, 2025
d49a18c
Refactor and row to list conversion
Kahreiru Sep 30, 2025
92768fc
Refactor and doctrings
Kahreiru Sep 30, 2025
1759a72
formatting
Kahreiru Sep 30, 2025
7dbe340
feedback method update
Kahreiru Sep 30, 2025
681fa97
added some communication
Kahreiru Sep 30, 2025
914ab21
Changed error handling to work with tests
mattbrgn Sep 30, 2025
b048663
Merge branch 'transfer-roi' of https://github.com/Nowhere4Nothing/Onk…
mattbrgn Sep 30, 2025
4f5cd56
Updated MovingImageLoader indentation
mattbrgn Sep 30, 2025
dd33262
making settings simpler to edit
Kahreiru Oct 1, 2025
8d46dc0
added delete column method
Kahreiru Oct 1, 2025
ca341e3
adding text sanitization
Kahreiru Oct 1, 2025
e2bc5d7
created get save name list
Kahreiru Oct 1, 2025
ee924c4
added database to GUI save name retrival
Kahreiru Oct 1, 2025
789892f
fixed database save bug
Kahreiru Oct 1, 2025
13fc74c
closing and raising text input window added
Kahreiru Oct 1, 2025
f0634bd
save as focus when opened
Kahreiru Oct 1, 2025
eabc2ea
Merge branch 'didymo:dev' into dev
Kahreiru Oct 1, 2025
f3e6b18
Merge pull request #3 from Kahreiru/dev
Kahreiru Oct 1, 2025
95ce5df
loading saves
Kahreiru Oct 1, 2025
356dfa0
save checking
Kahreiru Oct 1, 2025
15be242
Fixing DVH pop-up and linting
mattbrgn Oct 1, 2025
20518e3
Sourcery Suggestions
mattbrgn Oct 1, 2025
8ba84ee
added feedback from database.
Kahreiru Oct 1, 2025
9869f7a
changed to match Configuration path style
Kahreiru Oct 1, 2025
d4f0024
Merge branch 'master' into dev
mattbrgn Sep 30, 2025
12753d1
refactor of save window
Kahreiru Oct 1, 2025
fd00cb3
fixed crashing on clicking delete or load on empty list
Kahreiru Oct 1, 2025
555057f
dynamic buttons, delete popup window, save feedback, fixed save and l…
Kahreiru Oct 1, 2025
214324a
allowing saves to eb deleted, delete check window closes
Kahreiru Oct 1, 2025
9903820
Sourcery suggestions
Kahreiru Oct 2, 2025
75886fa
bug fix for enabling start and save button
Kahreiru Oct 2, 2025
d456e9b
less restricted text filtering
Kahreiru Oct 2, 2025
2d07e41
fixed Issue where loading wouldn't add to list but check boxes
Kahreiru Oct 2, 2025
53c1644
removed unused imports
Kahreiru Oct 2, 2025
1e2a643
Update with Sourceys advice
Nowhere4Nothing Oct 2, 2025
63b9250
Fixed Mouse Interaction being Blocked
mattbrgn Oct 2, 2025
5c26ddc
Fixed bug Reopen
Nowhere4Nothing Oct 2, 2025
aa67c19
Updated as per sourcerys advice
Nowhere4Nothing Oct 2, 2025
3ed3149
text stripping
Kahreiru Oct 2, 2025
b6c386b
Prevent RT DOSE in fusion (like autofusion)
mattbrgn Oct 3, 2025
57477f6
Update VTK, Windowin & Baseviewer
Nowhere4Nothing Oct 3, 2025
ef6a1c1
Missed one point by Stuart
Nowhere4Nothing Oct 3, 2025
669afd0
Merge pull request #386 from didymo/cherrypick-windowing
Nowhere4Nothing Oct 3, 2025
287cc4e
Update manual fusion loader
Nowhere4Nothing Oct 3, 2025
2128be3
Update Manual image loader
Nowhere4Nothing Oct 3, 2025
7b06284
Keep Moving Layer a Fixed Layer Aligned
mattbrgn Oct 3, 2025
439ee95
Merge branch 'dev' into SelectionSave
Kahreiru Oct 3, 2025
fb6e69c
Merge pull request #36 from Nowhere4Nothing/transfer-roi
mattbrgn Oct 3, 2025
64644bb
Merge branch 'dev' into master
Nowhere4Nothing Oct 4, 2025
8793939
Update VTK
Nowhere4Nothing Oct 4, 2025
edbbe4d
Merge pull request #37 from Nowhere4Nothing/fixMaster
Nowhere4Nothing Oct 4, 2025
c714e54
Sourcery Suggestions
mattbrgn Oct 4, 2025
1d30dea
updates comments as per advice
Kahreiru Oct 4, 2025
7ba8582
Merge remote-tracking branch 'origin/SelectionSave' into SelectionSave
Kahreiru Oct 4, 2025
5b768c6
changed variable name
Kahreiru Oct 4, 2025
48b8dfe
Merge pull request #387 from Kahreiru/SelectionSave
Kahreiru Oct 4, 2025
b642899
Adds check for non Axially aligned slices on load
Timmy-Codes Oct 4, 2025
eaf1a3d
Update src/Model/ImageLoading.py
Timmy-Codes Oct 4, 2025
ba9f290
Implemented Sourcery suggestions -
Timmy-Codes Oct 4, 2025
a40427e
Use return value of exec_() instead of button_clicked for consistent …
Timmy-Codes Oct 4, 2025
0b8102e
Update src/Model/AutoSegmentation/AutoSegmentation.py
Timmy-Codes Oct 4, 2025
b510ff2
Refactored OpenPatientProgressWindow.py to use helper function to cre…
Timmy-Codes Oct 4, 2025
685dbb8
Merge remote-tracking branch 'origin/dev_tim' into dev_tim
Timmy-Codes Oct 4, 2025
256e861
Implemented Sourcery suggestion -
Timmy-Codes Oct 4, 2025
c3804bb
Added logging (i forgot to woops)
mattbrgn Oct 5, 2025
2131460
Added docstring to ImageLoader.py - wait_for_acknowledgement function
Timmy-Codes Oct 5, 2025
68e8e6a
Adding suggestions
mattbrgn Oct 5, 2025
644b044
Merge pull request #388 from Nowhere4Nothing/master
didymo Oct 5, 2025
8f0f012
Addressing comments -
Timmy-Codes Oct 6, 2025
cdc91bb
Merge pull request #389 from Timmy-Codes/dev_tim
didymo Oct 6, 2025
4ab60bc
Fixing bug - check missing from ImageLoader.py that created infinite …
Timmy-Codes Oct 6, 2025
bc7513a
Renamed attribute
Timmy-Codes Oct 6, 2025
d5266af
Merge pull request #390 from Timmy-Codes/dev_tim_fix
Timmy-Codes Oct 6, 2025
5bab695
Fix Transfer ROI for Manual Fusion
mattbrgn Oct 7, 2025
b8a4b96
Sourcery suggestions
mattbrgn Oct 7, 2025
77e1ffa
Merge pull request #391 from didymo/fix-transfer-roi
didymo Oct 8, 2025
e7758a7
added icons plus up arrow movemnet
AJB-BigA Oct 9, 2025
cfb4852
adjust alignment of labels
AJB-BigA Oct 9, 2025
ac47a90
moved unit box to the toolbar and added some icons
AJB-BigA Oct 9, 2025
f464fc9
Fix Manual fusion loader bug
Nowhere4Nothing Oct 9, 2025
8c892d8
added icons and adjusted the labels
AJB-BigA Oct 9, 2025
b82847c
Adding tests
Nowhere4Nothing Oct 9, 2025
d619841
Update to address Stuarts suggestions
Nowhere4Nothing Oct 9, 2025
0467f8f
Fixed load error with private tag
Nowhere4Nothing Oct 9, 2025
716eeb3
Merge pull request #392 from didymo/fix-transfer-roi
Nowhere4Nothing Oct 9, 2025
2d026f9
changed the colour of the logs to match the rest of the program
AJB-BigA Oct 9, 2025
eead023
changed the colour of the logs to match the rest of the program
AJB-BigA Oct 9, 2025
ff0ca16
Merge branch 'didymo:dev' into dev
AJB-BigA Oct 9, 2025
8a9d20f
sourcery suggestions
AJB-BigA Oct 9, 2025
8e9f0ab
addjust test to fit refactor
AJB-BigA Oct 9, 2025
53df9f8
added back a line I accidently deleted
AJB-BigA Oct 9, 2025
b7d6ceb
remove faluty line
AJB-BigA Oct 9, 2025
0dc54c7
testing the test
AJB-BigA Oct 9, 2025
13e95cb
addjusting the test
AJB-BigA Oct 9, 2025
33d3e5d
Added new test
Nowhere4Nothing Oct 10, 2025
2ab49e5
Split test up
Nowhere4Nothing Oct 10, 2025
9648b94
Added tests
Nowhere4Nothing Oct 10, 2025
322259f
fixing test
AJB-BigA Oct 10, 2025
570103f
SegmentSelectorWidget tests
Kahreiru Oct 10, 2025
b1b41cf
SegmentSelectorWidget tests
Kahreiru Oct 10, 2025
19a142d
fixing test
AJB-BigA Oct 10, 2025
4dfda38
Merge remote-tracking branch 'origin/dev' into dev
Kahreiru Oct 10, 2025
3474d59
SegmentSelectorWidget tests
Kahreiru Oct 10, 2025
d988b1b
fixing test
AJB-BigA Oct 10, 2025
0875cbe
fixing tests
AJB-BigA Oct 10, 2025
b3dc2dc
fixing tests
AJB-BigA Oct 10, 2025
cd1e88a
fixing tests
AJB-BigA Oct 10, 2025
77b1095
Updated tests
Nowhere4Nothing Oct 11, 2025
e3fc4be
Update tests
Nowhere4Nothing Oct 11, 2025
6666d0d
fixing a multi bug and fingers crossed passes the test
AJB-BigA Oct 12, 2025
e962832
Small update
Nowhere4Nothing Oct 12, 2025
ae922bb
Small fix
Nowhere4Nothing Oct 13, 2025
e8fbb1f
Update manual fusion test
Nowhere4Nothing Oct 13, 2025
c596adf
Update _views_image_fusion
Nowhere4Nothing Oct 13, 2025
03bb840
Update tests
Nowhere4Nothing Oct 13, 2025
085592f
Update tests
Nowhere4Nothing Oct 14, 2025
c3260db
Im going insane
AJB-BigA Oct 14, 2025
b85f96f
close toolbar correctly to try and prevent it from laying around
AJB-BigA Oct 14, 2025
e6847f4
Updated views
Nowhere4Nothing Oct 14, 2025
8e84ff6
delete test_views_image_fusion
Nowhere4Nothing Oct 14, 2025
9aeef0c
Updated RTStructFileLoader.py to load new rtss dataset into the patie…
Timmy-Codes Oct 14, 2025
01851aa
Merge pull request #393 from BurdManMan/dev
didymo Oct 14, 2025
e7f3d35
Added check for existing rtstruct file in NiftiToRtstructConverter.py
Timmy-Codes Oct 14, 2025
926946b
Fix minor logging syntax error in WindowingSlider.py
Timmy-Codes Oct 14, 2025
070b4c1
Merge branch 'dev' into dev_tim
Timmy-Codes Oct 14, 2025
9b7c1c4
Sourcery suggestions -
Timmy-Codes Oct 14, 2025
5341898
Small text UI change on finish
Timmy-Codes Oct 14, 2025
af94f15
Merge pull request #15 from Timmy-Codes/dev_tim
Timmy-Codes Oct 14, 2025
3b2cf81
added mouse wheel scroll and adjust hud for text
AJB-BigA Oct 15, 2025
efed8df
fix draw tool visability
AJB-BigA Oct 15, 2025
9e5e85b
Update pythonapp.yml
Timmy-Codes Oct 15, 2025
7ffdaee
Sourcery suggestions -
Timmy-Codes Oct 15, 2025
88bb31f
Update pythonapp.yml
Timmy-Codes Oct 15, 2025
bda5266
Merge pull request #395 from Timmy-Codes/dev
Timmy-Codes Oct 15, 2025
710bcc2
added fixed transect tool
AJB-BigA Oct 15, 2025
31124b8
Merge branch 'didymo:dev' into dev
AJB-BigA Oct 16, 2025
fee5343
Created Tests
Kahreiru Oct 16, 2025
755dd22
Merge pull request #394 from Nowhere4Nothing/DevCreateTests
didymo Oct 17, 2025
5bbb360
Merge branch 'didymo:dev' into dev
AJB-BigA Oct 20, 2025
c80440d
trying to id the segfault
AJB-BigA Oct 20, 2025
0afdefb
adress bugs related to spin box and socuory suggestions
AJB-BigA Oct 20, 2025
90e38b1
Update pythonapp.yml
AJB-BigA Oct 21, 2025
67967fe
Update pythonapp.yml
AJB-BigA Oct 21, 2025
1f04965
Update pythonapp.yml
AJB-BigA Oct 21, 2025
ff88ef3
changes
AJB-BigA Oct 21, 2025
87fb849
trying to find the cause of the fault
AJB-BigA Oct 21, 2025
11d2614
CRITICAL BUG FIX
Nowhere4Nothing Oct 22, 2025
98ba2d6
try and pass seg fault just shooting in the dark
AJB-BigA Oct 22, 2025
c68bfbd
applying fixes
Kahreiru Oct 22, 2025
6794ef8
adding autouse
Kahreiru Oct 22, 2025
1a73d81
added autouse
Kahreiru Oct 22, 2025
3022df1
setting fixture to function. closing roi window in each test
Kahreiru Oct 22, 2025
1aa04a2
closing window using proper method
Kahreiru Oct 22, 2025
10db441
fixing thing I accidentally changed
Kahreiru Oct 22, 2025
c1fe4d1
Update Windowing level
Nowhere4Nothing Oct 22, 2025
0f21d25
Merge pull request #408 from Kahreiru/segfix2
didymo Oct 22, 2025
42d4032
Merge branch 'didymo:dev' into dev
AJB-BigA Oct 22, 2025
71e132b
Update Windowing
Nowhere4Nothing Oct 22, 2025
bd04c09
Merge pull request #405 from Nowhere4Nothing/windingFix
didymo Oct 23, 2025
cfd0447
remove print
AJB-BigA Oct 23, 2025
9dc100b
Merge pull request #15 from didymo/dev
Kahreiru Oct 23, 2025
d795767
Merge pull request #396 from BurdManMan/dev
didymo Oct 23, 2025
09f34db
Merge pull request #403 from Kahreiru/UploadTest
didymo Oct 23, 2025
3f73e42
Swap image fusion threading to native python
mattbrgn Oct 23, 2025
919e41e
Update fixed auto fusion
Nowhere4Nothing Oct 23, 2025
ad999e0
Update Manual fusion loader
Nowhere4Nothing Oct 23, 2025
937d146
Threading safety net
mattbrgn Oct 23, 2025
ac9b26b
fix autofusion crash after manual
mattbrgn Oct 24, 2025
db4fe0c
Merge pull request #411 from didymo/fix-transfer-roi
didymo Oct 26, 2025
81ff8d1
Critical Bug Fix AutoSeg Window crashing
Kahreiru Oct 28, 2025
97a7c92
Forget test fix
Kahreiru Oct 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [pull_request]
jobs:
fetch_cache:
name: fetch cache
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-24.04'
env:
TestDataUrl: 'https://zenodo.org/record/5147737/files/DICOM-RT-02.zip'

Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
DISPLAY: ':99.0'
TestDataUrl: 'https://zenodo.org/record/5147737/files/DICOM-RT-02.zip'
# USER_ONKODICOM_HIDDEN: '/tmp/.onkodicom'

steps:
- uses: actions/checkout@v3

Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ dist/
.qodo

# Ignore Apple specific files
.DS_Store
.DS_Store

173 changes: 173 additions & 0 deletions data/csv/segmentation_lists.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
BodySection,OrganSystem,StandardStructureName,Structure,StructureName
Body,Limbs,Limbs_TS,body_extremities,Limb
Body,Muscular,MuscleSkeletal_TS,skeletal_muscle,Skeletal muscle
Body,Skeletal,Vertebra_TS,vertebrae_body,Vertebral body
Body,Subcutaneous,FatTorso_TS,torso_fat,Fat
Body,Trunk,Trunk_TS,body_trunc,Trunk
Chest,Disease,PericardialEffusion_TS,pericardial_effusion,Effusion
Chest,Disease,PleuralEffusion_TS,pleural_effusion,Effusion
Chest,Pulmonary,Lung_LLL_TS,lung_lower_lobe_left,Lower lobe of lung
Chest,Pulmonary,Lung_RLL_TS,lung_lower_lobe_right,Lower lobe of lung
Chest,Pulmonary,Lung_RML_TS,lung_middle_lobe_right,Middle lobe of right lung
Chest,Pulmonary,Lung_RUL_TS,lung_upper_lobe_right,Upper lobe of lung
Chest,Pulmonary,Lung_ULL_TS,lung_upper_lobe_left,Upper lobe of lung
Chest,Vascular,LungVessels_TS,lung_vessels,Blood vessel
Chest ,Pulmonary,Pleura_TS,lung_pleural,Pleural membrane
Head,Disease,IntracerebralHaemorrhage_TS,intracerebral_hemorrhage,Hemorrhage
Head,Face,Face_TS,face,Face
Head,Nervous,Brain_TS,brain,Brain
Head,Skeletal,Skull_TS,skull,Skull
LimbsLower,Skeletal,FeetPhalanges_TS,phalanges_feet,Phalanx structure
LimbsLower,Skeletal,Femur_L_TS,femur_left,Femur
LimbsLower,Skeletal,Femur_R_TS,femur_right,Femur
LimbsLower,Skeletal,Femur_TS,femur,Femur
LimbsLower,Skeletal,Fibula_TS,fibula,Fibula
LimbsLower,Skeletal,MetatarsalBones_TS,metatarsal,Metatarsal
LimbsLower,Skeletal,Patella_TS,patella,Patella
LimbsLower,Skeletal,TarsalBones_TS,tarsal,Tarsal bones
LimbsLower,Skeletal,Tibia_TS,tibia,Tibia
LimbsUpper,Skeletal,Carpal_TS,carpal,Carpus
LimbsUpper,Skeletal,HandPhalanges_TS,phalanges_hand,Phalanx structure
LimbsUpper,Skeletal,Humerus_L_TS,humerus_left,Humerus
LimbsUpper,Skeletal,Humerus_R_TS,humerus_right,Humerus
LimbsUpper,Skeletal,Humerus_TS,humerus,Humerus
LimbsUpper,Skeletal,Metacarpal_TS,metacarpal,Metacarpal bones
LimbsUpper,Skeletal,Radius_TS,radius,Radius
LimbsUpper,Skeletal,Ulna_TS,ulna,Ulna
Lung,Disease,COVIDInfiltrates_TS,lung_covid_infiltrate,Infiltrate
Mediastinum,Airway,LungAirways_TS,lung_trachea_bronchia,Trachea and bronchus
Mediastinum,Airway,Trachea_TS,trachea,Trachea
Mediastinum,Cardiac,AtrialAppendage_L_TS,atrial_appendage_left,Auricular appendage
Mediastinum,Cardiac,Heart_TS,heart,Heart
Mediastinum,Cardiac,HeartAtrium_L_TS,heart_atrium_left,Left atrium
Mediastinum,Cardiac,HeartAtrium_R_TS,heart_atrium_right,Right atrium
Mediastinum,Cardiac,HeartVentricle_L_TS,heart_ventricle_left,Left ventricle of heart
Mediastinum,Cardiac,HeartVentricle_R_TS,heart_ventricle_right,Right ventricle of heart
Mediastinum,Cardiac,Myocardium_TS,heart_myocardium,Myocardium
Mediastinum,Vascular,A_Aorta_TS,aorta,Aorta
Mediastinum,Vascular,A_Pulmonary_TS,pulmonary_artery,Pulmonary artery
Mediastinum,Vascular,CoronaryArtery_TS,coronary_arteries,Coronary artery
Mediastinum,Vascular,V_Brachiocephalic_L_TS,brachiocephalic_vein_left,Brachiocephalic vein
Mediastinum,Vascular,V_Brachiocephalic_R_TS,brachiocephalic_vein_right,Brachiocephalic vein
Mediastinum,Vascular,V_BrachiocephalicTrunk_TS,brachiocephalic_trunk,Brachiocephalic artery
Mediastinum,Vascular,V_InferiorVenaCava_TS,inferior_vena_cava,Inferior vena cava
Mediastinum,Vascular,V_Pulmonary_TS,pulmonary_vein,Pulmonary vein
Mediastinum,Vascular,V_SuperiorVenaCava_TS,superior_vena_cava,Superior vena cava
Neck,GlandularEndocrine,ThyroidGland_TS,thyroid_gland,Thyroid gland
Neck,Skeletal,VertebraCervical_TS,vertebrae_cervical,Vertebra
Neck,Vascular,A_CommonCarotid_L_TS,common_carotid_artery_right,Common carotid artery
Neck,Vascular,A_CommonCarotid_R_TS,common_carotid_artery_left,Common carotid artery
Neck,Vascular,A_Subclavian_L_TS,subclavian_artery_left,Subclavian artery
Neck,Vascular,A_Subclavian_R_TS,subclavian_artery_right,Subclavian artery
Pelvis,Disease,HipImplant_TS,hip_implant,Implant
Pelvis,Genitourinary,Bladder_TS,urinary_bladder,Urinary bladder
Pelvis,Muscular,GluteusMaximi_TS,gluteus_maximus,Gluteus maximus muscle
Pelvis,Muscular,GluteusMaximus_L_TS,gluteus_maximus_left,Gluteus maximus muscle
Pelvis,Muscular,GluteusMaximus_R_TS,gluteus_maximus_right,Gluteus maximus muscle
Pelvis,Muscular,GluteusMedii_TS,gluteus_medius,Gluteus medius muscle
Pelvis,Muscular,GluteusMedius_L_TS,gluteus_medius_left,Gluteus medius muscle
Pelvis,Muscular,GluteusMedius_R_TS,gluteus_medius_right,Gluteus medius muscle
Pelvis,Muscular,GluteusMinimi_TS,gluteus_minimus,Gluteus medius muscle
Pelvis,Muscular,GluteusMinimus_L_TS,gluteus_minimus_left,Gluteus minius muscle
Pelvis,Muscular,GluteusMinimus_R_TS,gluteus_minimus_right,Gluteus minius muscle
Pelvis,Muscular,IliopsoasMuscle_L_TS,iliopsoas_left,Iliopsoas muscle
Pelvis,Muscular,IliopsoasMuscle_R_TS,iliopsoas_right,Iliopsoas muscle
Pelvis,Muscular,IliopsoasMuscles_TS,iliopsoas,Iliopsoas muscle
Pelvis,Skeletal,Hip_L_TS,hip_left,Hip
Pelvis,Skeletal,Hip_R_TS,hip_right,Hip
Pelvis,Skeletal,Hip_TS,hip,Hip
Pelvis,Skeletal,Sacrum_TS,sacrum,Sacrum
Pelvis,Vascular,A_Iliac_L_TS,iliac_artery_left,Common iliac artery
Pelvis,Vascular,A_Iliac_R_TS,iliac_artery_right,Common iliac artery
Pelvis,Vascular,A_Iliac_TS,iliac_artery,Common iliac artery
Pelvis,Vascular,V_Iliac_L_TS,iliac_vena_left,Common iliac vein
Pelvis,Vascular,V_Iliac_R_TS,iliac_vena_right,Common iliac vein
Pelvis,Vascular,V_Iliac_TS,iliac_vena,Common iliac vein
PelvisMale,GlandularEndocrine,Prostate_TS,prostate,Prostate
Skin,Subcutaneous,FatSubcutaneous_TS,subcutaneous_fat,Subcutaneous fatty tissue
Thoracic,Skeletal,Clavicle_L_TS,clavicula_left,Clavicle
Thoracic,Skeletal,Clavicle_R_TS,clavicula_right,Clavicle
Thoracic,Skeletal,Clavicles_TS,clavicula,Clavicle
Thoracic,Skeletal,CostalCartilages_TS,costal_cartilages,Costal cartilage
Thoracic,Skeletal,Rib1_L_TS,rib_left_1,First rib
Thoracic,Skeletal,Rib1_R_TS,rib_right_1,First rib
Thoracic,Skeletal,Rib10_L_TS,rib_left_10,Tenth rib
Thoracic,Skeletal,Rib10_R_TS,rib_right_10,Tenth rib
Thoracic,Skeletal,Rib11_L_TS,rib_left_11,Eleventh rib
Thoracic,Skeletal,Rib11_R_TS,rib_right_11,Eleventh rib
Thoracic,Skeletal,Rib12_L_TS,rib_left_12,Twelfth rib
Thoracic,Skeletal,Rib12_R_TS,rib_right_12,Twelfth rib
Thoracic,Skeletal,Rib2_L_TS,rib_left_2,Second rib
Thoracic,Skeletal,Rib2_R_TS,rib_right_2,Second rib
Thoracic,Skeletal,Rib3_L_TS,rib_left_3,Third rib
Thoracic,Skeletal,Rib3_R_TS,rib_right_3,Third rib
Thoracic,Skeletal,Rib4_L_TS,rib_left_4,Fourth rib
Thoracic,Skeletal,Rib4_R_TS,rib_right_4,Fourth rib
Thoracic,Skeletal,Rib5_L_TS,rib_left_5,Fifth rib
Thoracic,Skeletal,Rib5_R_TS,rib_right_5,Fifth rib
Thoracic,Skeletal,Rib6_L_TS,rib_left_6,Sixth rib
Thoracic,Skeletal,Rib6_R_TS,rib_right_6,Sixth rib
Thoracic,Skeletal,Rib7_L_TS,rib_left_7,Seventh rib
Thoracic,Skeletal,Rib7_R_TS,rib_right_7,Seventh rib
Thoracic,Skeletal,Rib8_L_TS,rib_left_8,Eighth rib
Thoracic,Skeletal,Rib8_R_TS,rib_right_8,Eighth rib
Thoracic,Skeletal,Rib9_L_TS,rib_left_9,Ninth rib
Thoracic,Skeletal,Rib9_R_TS,rib_right_9,Ninth rib
Thoracic,Skeletal,Ribs_TS,ribs,Rib
Thoracic,Skeletal,Scapula_L_TS,scapula_left,Scapula
Thoracic,Skeletal,Scapula_R_TS,scapula_right,Scapula
Thoracic,Skeletal,Scapula_TS,scapula,Scapula
Thoracic,Skeletal,Sternum_TS,sternum,Sternum
Thoracic,Skeletal,VB_C1_TS,vertebrae_C1,C1 vertebra
Thoracic,Skeletal,VB_C2_TS,vertebrae_C2,C2 vertebra
Thoracic,Skeletal,VB_C3_TS,vertebrae_C3,C3 vertebra
Thoracic,Skeletal,VB_C4_TS,vertebrae_C4,C4 vertebra
Thoracic,Skeletal,VB_C5_TS,vertebrae_C5,C5 vertebra
Thoracic,Skeletal,VB_C6_TS,vertebrae_C6,C6 vertebra
Thoracic,Skeletal,VB_C7_TS,vertebrae_C7,C7 vertebra
Thoracic,Skeletal,VB_L1_TS,vertebrae_L1,L1 vertebra
Thoracic,Skeletal,VB_L2_TS,vertebrae_L2,L2 vertebra
Thoracic,Skeletal,VB_L3_TS,vertebrae_L3,L3 vertebra
Thoracic,Skeletal,VB_L4_TS,vertebrae_L4,L4 vertebra
Thoracic,Skeletal,VB_L5_TS,vertebrae_L5,L5 vertebra
Thoracic,Skeletal,VB_S1_TS,vertebrae_S1,S1 vertebra
Thoracic,Skeletal,VB_T1_TS,vertebrae_T1,T1 vertebra
Thoracic,Skeletal,VB_T10_TS,vertebrae_T10,T10 vertebra
Thoracic,Skeletal,VB_T11_TS,vertebrae_T11,T11 vertebra
Thoracic,Skeletal,VB_T12_TS,vertebrae_T12,T12 vertebra
Thoracic,Skeletal,VB_T2_TS,vertebrae_T2,T2 vertebra
Thoracic,Skeletal,VB_T3_TS,vertebrae_T3,T3 vertebra
Thoracic,Skeletal,VB_T4_TS,vertebrae_T4,T4 vertebra
Thoracic,Skeletal,VB_T5_TS,vertebrae_T5,T5 vertebra
Thoracic,Skeletal,VB_T6_TS,vertebrae_T6,T6 vertebra
Thoracic,Skeletal,VB_T7_TS,vertebrae_T7,T7 vertebra
Thoracic,Skeletal,VB_T8_TS,vertebrae_T8,T8 vertebra
Thoracic,Skeletal,VB_T9_TS,vertebrae_T9,T9 vertebra
Thoracic,Skeletal,VertebraThoracic_TS,vertebrae_thoracic,Vertebra
Trunk,Disease,KidneyCyst_L_TS,kidney_cyst_left,Cyst
Trunk,Disease,KidneyCyst_R_TS,kidney_cyst_right,Cyst
Trunk,Genitourinary,Kidney_L_TS,kidney_left,Kidney
Trunk,Genitourinary,Kidney_R_TS,kidney_right,Kidney
Trunk,Genitourinary,Kidney_TS,kidney,Kidney
Trunk,GlandularEndocrine,AdrenalGland_L_TS,adrenal_gland_left,Adrenal gland
Trunk,GlandularEndocrine,AdrenalGland_R_TS,adrenal_gland_right,Adrenal gland
Trunk,GlandularEndocrine,AdrenalGland_TS,adrenal_gland,Adrenal gland
Trunk,Muscular,ErectorSpinaeMuscles_L_TS,autochthon_left,Deep muscle of back
Trunk,Muscular,ErectorSpinaeMuscles_R_TS,autochthon_right,Deep muscle of back
Trunk,Muscular,ErectorSpinaeMuscles_TS,autochthon,Deep muscle of back
Trunk,Nervous,SpinalCord_TS,spinal_cord,Spinal cord
Trunk,Skeletal,VertebraLumbar_TS,vertebrae_lumbar,Vertebra
UpperAbdomen,GI,Colon_TS,colon,Colon
UpperAbdomen,GI,Duodenum_TS,duodenum,Duodenum
UpperAbdomen,Gi,GallBladder_TS,gallbladder,Gallbladder
UpperAbdomen,GI,GTVliver_TS,liver_tumor,Neoplasm
UpperAbdomen,Gi,Liver_TS,liver,Liver
UpperAbdomen,GI,Oesophagus_TS,esophagus,Esophagus
UpperAbdomen,Gi,Pancreas_TS,pancreas,Pancreas
UpperAbdomen,GI,SmallBowel_TS,small_bowel,Small Intestine
UpperAbdomen,GI,Spleen_TS,spleen,Spleen
UpperAbdomen,GI,Stomach_TS,stomach,Stomach
UpperAbdomen,Vascular,A_Aorta_TS,aorta,Aorta
UpperAbdomen,Vascular,LiverVessels_TS,liver_vessels,Blood vessel
UpperAbdomen,Vascular,V_InferiorVenaCava_TS,inferior_vena_cava,Inferior vena cava
UpperAbdomen,Vascular,V_Portal_TS,portal_vein_and_splenic_vein,Portal vein and splenic vein
6 changes: 6 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@
import warnings
import sys
import platform
import logging

from PySide6 import QtWidgets, QtCore
from PySide6.QtGui import QFont
from src.Model.Configuration import Configuration
from src.Controller.TopLevelController import Controller
from src.View.util.RedirectStdOut import ConsoleOutputStream
warnings.filterwarnings("ignore")

QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True)

if __name__ == "__main__":
# logging.basicConfig(level=logging.DEBUG, format='%(levelname)s: %(filename)s - %(funcName)s - %(lineno)d : %(asctime)s - %(message)s')

# On some configurations error traceback is not being displayed
# when the program crashes. This is a workaround.
Expand All @@ -29,6 +32,9 @@ def exception_hook(exctype, value, traceback):

print("PDPI: " + str(app.primaryScreen().physicalDotsPerInch()))

# Allow redirected stream in AutoSegmentation to still output to console
sys.stdout = ConsoleOutputStream()

# Set the font to Segoe UI, 9, when in windows OS
if platform.system() == 'Windows':
f = QFont("Segoe UI", 9)
Expand Down
Loading
Loading