Defense-Circuits-Lab / findmycells

An end-to-end bioimage analysis pipeline with state-of-the-art tools for non-coding experts
https://defense-circuits-lab.github.io/findmycells/
GNU General Public License v3.0
2 stars 1 forks source link

Transfer of findmycells projects between operating systems #44

Closed KonKob closed 8 months ago

KonKob commented 9 months ago

When creating a project on a Windows based system (pathlib.WindowsPath objects) and transferring it to an OS based system such as Unix, MacOS (pathlib.PosixPath objects), the saved project can't be loaded, as it fails to instantiate pathlib.WindowsPath objects on an OS based system.

KonKob commented 8 months ago

Convert all pathlib.Path objects to strings in api.database and api.project configs. Consider using strings instead of pathlib.Path objects in general