mastodon-sc/mastodon

Windows - Linux - Compatibility

stefanhahmann opened this issue · 2 comments

User Story

Mastodon Users would like to be able to exchange project files between different operating systems. More specifically, Windows, Linux, MacOS.

Acceptance

  1. Project file can be saved from Linux environment and then opened from Windows environment.
  2. Project file can be saved from Windows environment and then opened from Linux environment.

Tasks

  • Test, if this actually works already.
  • Save path of SpimDataFile on project.xml in Linux-style, i.e. using forward slashes ("/")
    grafik
  • Ensure that Linux-style paths are read correctly from Windows environments.
  • Write Unit test that allows checking the behaviour from different OS machines.

Found out that the following line already solved the problem for different SpimDataFile styles: https://github.com/stefanhahmann/mastodon/blob/master/src/main/java/org/mastodon/views/bdv/SharedBigDataViewerData.java#L364

Resolved via #210