Skip to content

Commit 7b839e4

Browse files
Merge branch 'ome:develop' into leica-channel-property-names
2 parents ec2ae55 + 7daafcb commit 7b839e4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎components/formats-gpl/src/loci/formats/in/OperettaReader.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
package loci.formats.in;
2727

28+
import java.io.File;
2829
import java.io.IOException;
2930
import java.util.ArrayList;
3031
import java.util.Arrays;
@@ -1006,6 +1007,9 @@ else if (activeChannel != null) {
10061007
activePlane.filename = value;
10071008
}
10081009
else {
1010+
value = value.replaceAll("\\\\", File.separator);
1011+
value = value.replaceAll("/", File.separator);
1012+
10091013
Location parent =
10101014
new Location(currentId).getAbsoluteFile().getParentFile();
10111015
Location planeFile = new Location(parent, value);

0 commit comments

Comments
 (0)