]> Creatis software - clitk.git/blobdiff - segmentation/clitkExtractPatientGenericFilter.txx
error are now handled by exception
[clitk.git] / segmentation / clitkExtractPatientGenericFilter.txx
index f90c1c7992a0a7b900083a372251f4b6e4be2978..7fc07407b6c035762d5b8cc3ba0dd7a74997e720 100644 (file)
@@ -82,12 +82,12 @@ void clitk::ExtractPatientGenericFilter<ArgsInfoType>::UpdateWithInputImageType(
   // Go !
   filter->Update();
   
-  // Check if error
-  if (filter->HasError()) {
-    SetLastError(filter->GetLastError());
-    // No output
-    return;
-  }
+  // // Check if error
+  // if (filter->HasError()) {
+  //   SetLastError(filter->GetLastError());
+  //   // No output
+  //   return;
+  // }
 
   // Write/Save results
   typename OutputImageType::Pointer output = filter->GetOutput();