Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor platform-dependent paths for cross platform compatibility #261

Open
maciejmajek opened this issue Oct 1, 2024 · 0 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@maciejmajek
Copy link
Member

Is your feature request related to a problem? Please describe.
The current codebase contains several instances of platform-dependent file paths, which can cause issues when running the software on different operating systems. This lack of cross-platform compatibility may lead to errors and inconsistent behavior across different environments.

Describe the solution you'd like
We should refactor the code to use platform-independent path handling. This can be achieved by:

  1. Using Python's pathlib module instead of string concatenation for file paths.
  2. Replacing hardcoded path separators with os.path.join() or pathlib.Path.joinpath().

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context

@maciejmajek maciejmajek added enhancement New feature or request good first issue Good for newcomers labels Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant