mobie / mobie-viewer-fiji

BSD 2-Clause "Simplified" License
33 stars 13 forks source link

Project made with 'linking' images on Windows can't be opened on mac #659

Open K-Meech opened 2 years ago

K-Meech commented 2 years ago

This is probably an issue with windows using \ vs mac using /. I think Windows can tolerate opening xml files with relative paths that contain /, so could force it to be written in this way.

tischi commented 2 years ago

This is probably an issue with windows using \ vs mac using /. I think Windows can tolerate opening xml files with relative paths that contain /, so could force it to be written in this way.

@K-Meech do you know whether this is "our" code that does that or does that come from bdv-core?

tischi commented 2 years ago
K-Meech commented 2 years ago

I think this is happening here: https://github.com/mobie/mobie-viewer-fiji/blob/main/src/main/java/org/embl/mobie/viewer/projectcreator/ImagesCreator.java#L467 So it's coming from using XmlIoSpimData which comes from mpicbg.spim.data.XmlIoSpimData