Skip to content

Commit

Permalink
Remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
alanocallaghan committed Dec 6, 2024
1 parent c9acfb3 commit b93c796
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ private void refreshAvailableModels() {
}
}
var remoteAndNotLocal = remoteModels.stream()
// .filter(m -> !localModelNames.containsKey(m.getName()))
.sorted(comparator)
.toList();
list.addAll(localModels);
Expand Down Expand Up @@ -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()) {
Expand Down

0 comments on commit b93c796

Please sign in to comment.