Skip to content

Commit

Permalink
Fix local processing
Browse files Browse the repository at this point in the history
  • Loading branch information
ppouchin committed Nov 4, 2023
1 parent f088d97 commit 6456dc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/fr/igred/ij/io/LocalBatchImage.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ public ImagePlus getImagePlus(ROIMode mode) {
try {
ImporterOptions options = initImporterOptions();
options.setShowROIs(loadROIs);
options.setROIsMode(mode.toString());
if (loadROIs) {
options.setROIsMode(mode.toString());
}
options.setId(path);
options.setSeriesOn(index, true);
ImagePlus[] imps = BF.openImagePlus(options);
Expand Down

0 comments on commit 6456dc3

Please sign in to comment.