photon_mosaic.pathing#

Pathing utilities for photon-mosaic.

This module provides functions for handling paths and wildcards in Snakemake.

Functions

cross_platform_path(path)

Convert path to string format appropriate for the current platform.

photon_mosaic.pathing.cross_platform_path(path)[source]#

Convert path to string format appropriate for the current platform. On Windows, uses forward slashes (as_posix()) for Snakemake compatibility. On Unix-like systems, uses native path separators (str()).