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

Move paths to SampleFileHandler and create get methods for some #11

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

glrs
Copy link
Collaborator

@glrs glrs commented Oct 31, 2024

This pull request focuses on improving the handling of file paths and directories in the run_sample.py and related files. The most important changes include renaming the base_dir attribute to project_dir, updating method calls to use new helper functions, and ensuring directories are correctly referenced.

Changes to file path handling:

Updates to SampleFileHandler:

  • lib/realms/tenx/utils/sample_file_handler.py: Renamed base_dir to project_dir in the class attributes and methods. Added new helper methods get_libraries_csv_path, get_multi_csv_path, and get_feature_reference_csv_path to standardize CSV path retrieval. [1] [2] [3]

@glrs glrs merged commit 8d34714 into NationalGenomicsInfrastructure:main Oct 31, 2024
3 checks passed
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