Skip to content

Refactor Pathway Management to Use pathlib #57

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

Merged
merged 10 commits into from
Feb 12, 2025
Merged

Refactor Pathway Management to Use pathlib #57

merged 10 commits into from
Feb 12, 2025

Conversation

jcorreia11
Copy link
Collaborator

Refactor Pathway Management to Use pathlib

This PR refactors the pathway management code to exclusively use the pathlib module, replacing previous implementations that relied on os.path or other methods.

Changes:

  • Replaced os.path.join(), os.path.exists(), and other file-related operations with the equivalent pathlib functions.
  • Simplified code for better readability and consistency.
  • Improved cross-platform compatibility by leveraging pathlib's intuitive path handling.

These changes enhance maintainability and streamline the codebase for easier future updates.

@jcorreia11 jcorreia11 merged commit 6457b4c into main Feb 12, 2025
1 check passed
@jcorreia11 jcorreia11 deleted the paths branch February 12, 2025 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant