Move paths to SampleFileHandler and create get methods for some #11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 thebase_dir
attribute toproject_dir
, updating method calls to use new helper functions, and ensuring directories are correctly referenced.Changes to file path handling:
lib/realms/tenx/run_sample.py
: Replacedbase_dir
withproject_dir
inpre_process
,assemble_cellranger_command
, andgenerate_multi_sample_csv
methods. Updated method calls to use new helper functions for CSV paths. [1] [2] [3] [4] [5]lib/realms/tenx/tenx_project.py
: Addedproject_dir
toproject_info
dictionary in the__init__
method.Updates to
SampleFileHandler
:lib/realms/tenx/utils/sample_file_handler.py
: Renamedbase_dir
toproject_dir
in the class attributes and methods. Added new helper methodsget_libraries_csv_path
,get_multi_csv_path
, andget_feature_reference_csv_path
to standardize CSV path retrieval. [1] [2] [3]