diff --git a/src/main/java/qupath/ext/instanseg/ui/InstanSegController.java b/src/main/java/qupath/ext/instanseg/ui/InstanSegController.java index 5fec72a..09220ca 100644 --- a/src/main/java/qupath/ext/instanseg/ui/InstanSegController.java +++ b/src/main/java/qupath/ext/instanseg/ui/InstanSegController.java @@ -216,7 +216,6 @@ private void refreshAvailableModels() { } } var remoteAndNotLocal = remoteModels.stream() - // .filter(m -> !localModelNames.containsKey(m.getName())) .sorted(comparator) .toList(); list.addAll(localModels); @@ -374,7 +373,6 @@ private void updateInputChannels(ImageData<BufferedImage> imageData) { // if brightfield, then check R, G, and B comboInputChannels.getCheckModel().checkIndices(IntStream.range(0, 3).toArray()); var modelDir = InstanSegUtils.getModelDirectory().orElse(null); - // todo: not clear why this is needed. is this handling the checkcombobox weirdness on clearing checks, or? if (model != null && modelDir != null && model.isValid()) { var modelChannels = model.getNumChannels(); if (modelChannels.isPresent()) {