diff --git a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/api/v1/LoadEmptyImagesTest.java b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/api/v1/LoadEmptyImagesTest.java index d068779b1f63f06b52ba2275cbaa019ed879cc94..fdb179332fa20df35a87aa0355f3e0c8c9cb3c1b 100644 --- a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/api/v1/LoadEmptyImagesTest.java +++ b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/api/v1/LoadEmptyImagesTest.java @@ -87,20 +87,15 @@ public class LoadEmptyImagesTest List<PlateImageReference> imageReferences = findPlateImagesToLoad(1000); - try - { - runAndTime(imageReferences, 0); - throw new RuntimeException("Expected exception not thrown"); - } catch (IOException e) - { - - } - + /* + * try { runAndTime(imageReferences, 0); throw new + * RuntimeException("Expected exception not thrown"); } catch (Exception e) { } + */ try { runAndTime(imageReferences, 1); throw new RuntimeException("Expected exception not thrown"); - } catch (IOException e) + } catch (Exception e) { } @@ -109,7 +104,7 @@ public class LoadEmptyImagesTest { runAndTime(imageReferences, 2); throw new RuntimeException("Expected exception not thrown"); - } catch (IOException e) + } catch (Exception e) { } @@ -172,6 +167,7 @@ public class LoadEmptyImagesTest byte[] imageFileBytes) { // do nothing + System.out.println("Image size: " + imageFileBytes.length); } }); @@ -228,10 +224,10 @@ public class LoadEmptyImagesTest for (int col = 1; col <= numberOfCols; ++col) { // 1,1 is the only well with images - if (1 == row && 1 == col) - { - continue; - } + // if (1 == row && 1 == col) + // { + // continue; + // } WellPosition well = new WellPosition(row, col); for (String channel : channels) {