Patched cleanup_archer_fastqs(), added test generation script #5
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.
cleanup_archer_fastqs()
. In multiple project_id (e.g., ADX12345: 1001, 1002, 1003) runs, the first iteration of the main loop deletes fastqs for all projects linked to the same ADX number. Sequential loops then return an error and break the loop due to absence of these files this this stage.cleanup_archer_fastqs()
will now return True when project_id specific fastqs are not present, and simply log a warning rather than an error. This allows final stages for each sequential loop (update_list_archived_projects()
,cleanup_genomics_server()
) to safely complete as data must successfully uploaded to DNAnexus before loop can reach this stage.generate_test_data.py script
. Allows user to generate/teardown a structured series of blank tar.gz, fastq.gz and symlinks within the test directories on the Archer server to facilitate safer end-to-end testing of main scripts. Instructions added toREADME.md
within the testing section.This change is