Add Report Transfer utilities [used in 10x for now] #13
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 introduces a new report transfer feature and refactors the
run_sample
andsample_file_handler
modules to support this functionality. The changes include adding a new utility function for transferring reports, updating the sample processing workflow, and enhancing the file handling capabilities.New Features:
transfer_report
inlib/module_utils/report_transfer.py
to handle the transfer of reports usingrsync
.transfer_report
into thepost_process
method ofrun_sample
to transfer reports after processing.Refactoring and Enhancements:
Run Sample Module:
SampleFileHandler
to a later point in the constructor ofrun_sample.py
to ensure proper setup. [1] [2]process
method to handle errors gracefully.pre_process
method to include additional logging paths.Sample File Handler Module:
SampleFileHandler
to track pipeline information and manage report paths. [1] [2]check_run_success
andextract_report_path
to verify the success of the run and extract report paths from output logs.