TheInterventionCentre / NorMIT-Plan

10 stars 1 forks source link

crash if click "run assign seeds" button when do not have proper inputs #18

Closed lcoram closed 6 years ago

lcoram commented 7 years ago

write tests for this functionality

lcoram commented 6 years ago

Exception thrown in event: /Users/louise/Documents/build/Slicer-4.8.0/ITKv4/Modules/Core/Common/src/itkProcessObject.cxx:1387: itk::ERROR: CastImageFilter(0x7fcb57cab790): Input Primary is required but not set."

happens when place a seed but do not have label maps (plus have loaded an image)...

lcoram commented 6 years ago

Should be fixed in this commit: https://github.com/TheInterventionCentre/NorMIT-Plan/pull/101/commits/dceaba79fd021be8217ac0c49525f6496d46d5b1